about summary refs log tree commit diff
path: root/tvix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-10-24T12·42+0300
committerclbot <clbot@tvl.fyi>2022-10-24T13·27+0000
commit8497b83569761e6cb67b355f395d45ef8b02ee80 (patch)
tree23d33e118de6a99eb2b15bb4745b0f141a197526 /tvix
parentf7ba502005d6376328e1e2591d70973d4f1d6b15 (diff)
feat(tvix/eval): add builtins.langVersion r/5191
The last bump in langVersion (5->6) in C++ Nix was due to making lists
comparable (commit `09471d2680292af48b2788108de56a8da755d661`), which
we support in Tvix with cl/7070.

Change-Id: Id3beed5150b8fb6e0a46a4d1b7e3942022a65346
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7074
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'tvix')
-rw-r--r--tvix/eval/src/builtins/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tvix/eval/src/builtins/mod.rs b/tvix/eval/src/builtins/mod.rs
index 25d00070e936..d6b52e20a2a3 100644
--- a/tvix/eval/src/builtins/mod.rs
+++ b/tvix/eval/src/builtins/mod.rs
@@ -675,6 +675,8 @@ fn builtins_set() -> NixAttrs {
         Value::String("2.3-compat-tvix-0.1".into()),
     );
 
+    map.insert("langVersion".into(), Value::Integer(6));
+
     map.insert(
         "currentSystem".into(),
         crate::systems::llvm_triple_to_nix_double(CURRENT_PLATFORM).into(),