patch: nix-super primop

This commit is contained in:
Max Headroom 2022-02-21 20:52:52 +01:00
parent 4c28820dc0
commit 1c49d1f82d

View file

@ -3859,6 +3859,9 @@ void EvalState::createBaseEnv()
v.mkInt(6);
addConstant("__langVersion", v);
v.mkBool(true);
addConstant("__super", v);
// Miscellaneous
if (evalSettings.enableNativeCode) {
addPrimOp("__importNative", 2, prim_importNative);