mirror of
https://github.com/NixOS/nix.git
synced 2025-11-20 17:29:36 +01:00
Fix build
This commit is contained in:
parent
f79b90f7ea
commit
db204f40d2
2 changed files with 3 additions and 2 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
|
with builtins;
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
showPos = pos:
|
showPos = pos:
|
||||||
|
|
|
||||||
|
|
@ -3507,8 +3507,7 @@ void EvalState::createBaseEnv()
|
||||||
addPrimOp("__exec", 1, prim_exec);
|
addPrimOp("__exec", 1, prim_exec);
|
||||||
}
|
}
|
||||||
|
|
||||||
path = canonPath(settings.nixDataDir + "/nix/corepkgs/module.nix", true);
|
evalFile(canonPath(settings.nixDataDir + "/nix/corepkgs/module.nix", true), v);
|
||||||
evalFile(path, v);
|
|
||||||
addConstant("module", v);
|
addConstant("module", v);
|
||||||
|
|
||||||
/* Add a value containing the current Nix expression search path. */
|
/* Add a value containing the current Nix expression search path. */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue