1
0
Fork 0
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:
Robert Hensing 2024-11-19 18:32:09 +01:00
parent 8a36d2d8a7
commit 5c258d7e25
3 changed files with 6 additions and 5 deletions

View file

@ -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();