1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-20 17:29:36 +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 let
showPos = pos: showPos = pos:

View file

@ -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. */