diff options
author | Shea Levy <shea@shealevy.com> | 2013-12-05T17·07-0500 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-12-10T14·07+0100 |
commit | e36229d27f9ab508e0abf1892f3e8c263d2f8c58 (patch) | |
tree | e794832ebcbbe6adb7affc0362707182607fb160 | |
parent | 22d665019a3770148929b7504c73bcdbe025ec12 (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>
-rw-r--r-- | src/libexpr/primops.cc | 2 |
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 |