From e36229d27f9ab508e0abf1892f3e8c263d2f8c58 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Thu, 5 Dec 2013 12:07:05 -0500 Subject: [PATCH] Bump language version for new storePath feature This will allow e.g. channel expressions to use builtins.storePath IFF it is safe to do so without knowing if the path is valid yet. Signed-off-by: Shea Levy --- src/libexpr/primops.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 6d09bb7b1..4f836e279 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -1242,7 +1242,7 @@ void EvalState::createBaseEnv() language feature gets added. It's not necessary to increase it when primops get added, because you can just use `builtins ? primOp' to check. */ - mkInt(v, 1); + mkInt(v, 2); addConstant("__langVersion", v); // Miscellaneous