about summary refs log tree commit diff
path: root/src/libexpr
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2013-12-05T17·07-0500
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-12-10T14·07+0100
commite36229d27f9ab508e0abf1892f3e8c263d2f8c58 (patch)
treee794832ebcbbe6adb7affc0362707182607fb160 /src/libexpr
parent22d665019a3770148929b7504c73bcdbe025ec12 (diff)
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 <shea@shealevy.com>
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/primops.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index 6d09bb7b13ba..4f836e279425 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