mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-11 00:36:20 +02:00
patch: nix-super primop
This commit is contained in:
parent
4c28820dc0
commit
1c49d1f82d
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue