1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-19 16:59:35 +01:00

Fix build

This commit is contained in:
Eelco Dolstra 2020-09-01 13:46:22 +02:00
parent f79b90f7ea
commit db204f40d2
2 changed files with 3 additions and 2 deletions

View file

@ -1,3 +1,5 @@
with builtins;
let
showPos = pos:

View file

@ -3507,8 +3507,7 @@ void EvalState::createBaseEnv()
addPrimOp("__exec", 1, prim_exec);
}
path = canonPath(settings.nixDataDir + "/nix/corepkgs/module.nix", true);
evalFile(path, v);
evalFile(canonPath(settings.nixDataDir + "/nix/corepkgs/module.nix", true), v);
addConstant("module", v);
/* Add a value containing the current Nix expression search path. */