about summary refs log tree commit diff
path: root/src/nix-env/user-env.hh
diff options
context:
space:
mode:
authorChristian Theune <ct@flyingcircus.io>2015-05-19T18·03+0200
committerChristian Theune <ct@flyingcircus.io>2015-05-19T18·03+0200
commitea39c98d419a816029299b99f70455798e66f6b7 (patch)
tree9cdea14533783e93e0c7b1a4972bb6c58adb5edf /src/nix-env/user-env.hh
parent3d8318870289d7b6b08677fcd2da6ceb0b082f8c (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/user-env.hh')
-rw-r--r--src/nix-env/user-env.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-env/user-env.hh b/src/nix-env/user-env.hh
index f188efe9b4a9..4fedd19aa7c6 100644
--- a/src/nix-env/user-env.hh
+++ b/src/nix-env/user-env.hh
@@ -8,6 +8,6 @@ DrvInfos queryInstalled(EvalState & state, const Path & userEnv);
 
 bool createUserEnv(EvalState & state, DrvInfos & elems,
     const Path & profile, bool keepDerivations,
-    const string & lockToken);
+    const string & lockToken, bool lazyGeneration);
 
 }