From 1c49d1f82dba61abec33931f57a6ad6fffe8e77e Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 21 Feb 2022 20:52:52 +0100 Subject: [PATCH] patch: nix-super primop --- src/libexpr/primops.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index daf679a5a..fa379d577 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -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);