diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 2cb78e35f..61a11b226 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -4430,8 +4430,7 @@ void EvalState::createBaseEnv() )", }); - v.mkNull(); - addConstant("null", v, { + addConstant("null", &vNull, { .type = nNull, .doc = R"( Primitive value.