1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 06:31:14 +02:00

createBaseEnv: Use state.vNull

This commit is contained in:
Robert Hensing 2024-03-20 21:34:23 +01:00
parent 0b08dd45b0
commit d4b0b7f152

View file

@ -4430,8 +4430,7 @@ void EvalState::createBaseEnv()
)", )",
}); });
v.mkNull(); addConstant("null", &vNull, {
addConstant("null", v, {
.type = nNull, .type = nNull,
.doc = R"( .doc = R"(
Primitive value. Primitive value.