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:
parent
3fc0b0da58
commit
5cac336820
6 changed files with 11 additions and 76 deletions
|
|
@ -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; }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue