1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-26 20:20:58 +01:00

Repositorys are created, state dirs are checked out automatically

This commit is contained in:
Wouter den Breejen 2007-05-21 21:34:49 +00:00
parent 3fc0b0da58
commit 5cac336820
6 changed files with 11 additions and 76 deletions

View file

@ -41,10 +41,11 @@ struct DerivationStateOutput
string enabled;
string shared;
string synchronization;
string createStateDirsBeforeInstall;
DerivationStateOutput()
{
}
DerivationStateOutput(Path statepath, string hashAlgo, string hash, string enabled, string shared, string synchronization)
DerivationStateOutput(Path statepath, string hashAlgo, string hash, string enabled, string shared, string synchronization, string createStateDirsBeforeInstall)
{
this->statepath = statepath;
this->hashAlgo = hashAlgo;
@ -52,6 +53,7 @@ struct DerivationStateOutput
this->enabled = enabled;
this->shared = shared;
this->synchronization = synchronization;
this->createStateDirsBeforeInstall = createStateDirsBeforeInstall;
}
};
@ -71,9 +73,6 @@ struct DerivationStateOutputDir
}
//sort function
/*bool operator<(const DerivationStateOutputDir& a, const DerivationStateOutputDir& b) {
return a.path < b.path;
} */
bool operator<(const DerivationStateOutputDir& a) const { return path < a.path; }
};