mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-02-09 03:37:17 +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);
|
v.mkInt(6);
|
||||||
addConstant("__langVersion", v);
|
addConstant("__langVersion", v);
|
||||||
|
|
||||||
|
v.mkBool(true);
|
||||||
|
addConstant("__super", v);
|
||||||
|
|
||||||
// Miscellaneous
|
// Miscellaneous
|
||||||
if (evalSettings.enableNativeCode) {
|
if (evalSettings.enableNativeCode) {
|
||||||
addPrimOp("__importNative", 2, prim_importNative);
|
addPrimOp("__importNative", 2, prim_importNative);
|
||||||
|
|
Loading…
Add table
Reference in a new issue