diff options
author | Christian Theune <ct@flyingcircus.io> | 2015-05-19T18·03+0200 |
---|---|---|
committer | Christian Theune <ct@flyingcircus.io> | 2015-05-19T18·03+0200 |
commit | ea39c98d419a816029299b99f70455798e66f6b7 (patch) | |
tree | 9cdea14533783e93e0c7b1a4972bb6c58adb5edf /src/nix-env/profiles.hh | |
parent | 3d8318870289d7b6b08677fcd2da6ceb0b082f8c (diff) |
Implement alternative to lazy generations:
* only the last generation can be lazy * depend on the '--lazy-generation' flag to be set
Diffstat (limited to 'src/nix-env/profiles.hh')
-rw-r--r-- | src/nix-env/profiles.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-env/profiles.hh b/src/nix-env/profiles.hh index 30d2376d998c..64c98e0d6888 100644 --- a/src/nix-env/profiles.hh +++ b/src/nix-env/profiles.hh @@ -31,7 +31,7 @@ typedef list<Generation> Generations; profile, sorted by generation number. */ Generations findGenerations(Path profile, int & curGen); -Path createGeneration(Path profile, Path outPath); +Path createGeneration(Path profile, Path outPath, bool lazy); void deleteGeneration(const Path & profile, unsigned int gen); |