diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2012-01-03T12·59+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2012-01-03T12·59+0000 |
commit | 6c31232e1494d1d68a31fb8433dbf593f831dff2 (patch) | |
tree | 9acd7f0e2279bd971b5ccd1f1eb8cec8b7937003 /src/nix-env/user-env.cc | |
parent | 502d94048ae848eda1fcda2d1e72b339eaa653aa (diff) | |
parent | 63227d434cefaa9faeb14afe28ebeb9b2d449ee2 (diff) |
* Sync with the trunk.
Diffstat (limited to 'src/nix-env/user-env.cc')
-rw-r--r-- | src/nix-env/user-env.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-env/user-env.cc b/src/nix-env/user-env.cc index 670052bcbb6d..0dcdcc0d186f 100644 --- a/src/nix-env/user-env.cc +++ b/src/nix-env/user-env.cc @@ -112,7 +112,7 @@ bool createUserEnv(EvalState & state, DrvInfos & elems, /* Get the environment builder expression. */ Value envBuilder; - state.evalFile(nixDataDir + "/nix/corepkgs/buildenv", envBuilder); + state.evalFile(state.findFile("nix/buildenv.nix"), envBuilder); /* Construct a Nix expression that calls the user environment builder with the manifest as argument. */ |