mirror of
https://github.com/NixOS/nix
synced 2025-06-28 13:41:15 +02:00
refactor: Use EvalState::getBuiltins()
This commit is contained in:
parent
8a36d2d8a7
commit
5c258d7e25
3 changed files with 6 additions and 5 deletions
|
@ -4937,7 +4937,7 @@ void EvalState::createBaseEnv()
|
|||
|
||||
/* Now that we've added all primops, sort the `builtins' set,
|
||||
because attribute lookups expect it to be sorted. */
|
||||
baseEnv.values[0]->payload.attrs->sort();
|
||||
getBuiltins().payload.attrs->sort();
|
||||
|
||||
staticBaseEnv->sort();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue