diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nix-env/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-env/main.cc b/src/nix-env/main.cc index a8377582ca49..b3c38616ec2f 100644 --- a/src/nix-env/main.cc +++ b/src/nix-env/main.cc @@ -164,7 +164,7 @@ void switchLink(Path link, Path target) void createUserEnv(EvalState & state, const DrvInfos & drvs) { /* Get the environment builder expression. */ - Expr envBuilder = parseExprFromFile("/home/eelco/nix/corepkgs/buildenv"); /* !!! */ + Expr envBuilder = parseExprFromFile(nixDataDir + "/nix/corepkgs/buildenv"); /* !!! */ /* Construct the whole top level derivation. */ ATermList inputs = ATempty; |