mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
createBaseEnv: Use state.vNull
This commit is contained in:
parent
0b08dd45b0
commit
d4b0b7f152
1 changed files with 1 additions and 2 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue