mirror of
https://github.com/NixOS/nix
synced 2025-06-26 11:41:15 +02:00
* Move the implementation of the ‘derivation’ primop into a separate
file.
This commit is contained in:
parent
6c31232e14
commit
921111d197
4 changed files with 35 additions and 26 deletions
|
@ -148,8 +148,6 @@ EvalState::EvalState()
|
|||
nrAttrsets = nrOpUpdates = nrOpUpdateValuesCopied = 0;
|
||||
deepestStack = (char *) -1;
|
||||
|
||||
createBaseEnv();
|
||||
|
||||
allowUnsafeEquality = getEnv("NIX_NO_UNSAFE_EQ", "") == "";
|
||||
|
||||
#if HAVE_BOEHMGC
|
||||
|
@ -188,6 +186,8 @@ EvalState::EvalState()
|
|||
foreach (Strings::iterator, i, paths) addToSearchPath(*i);
|
||||
addToSearchPath("nix=" + nixDataDir + "/nix/corepkgs");
|
||||
searchPathInsertionPoint = searchPath.begin();
|
||||
|
||||
createBaseEnv();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue