feat(tvix/eval): add builtins.{null,true,false}
Code probably rarely relies on these, but it's not hard to support them. Change-Id: I8499fec34efaf031f9c013bbd370a13db929a2a3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7772 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Autosubmit: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
b7090ec874
commit
5946b47ab7
1 changed files with 3 additions and 0 deletions
|
@ -960,6 +960,9 @@ pub fn pure_builtins() -> Vec<(&'static str, Value)> {
|
|||
// Pure-value builtins
|
||||
result.push(("nixVersion", Value::String("2.3-compat-tvix-0.1".into())));
|
||||
result.push(("langVersion", Value::Integer(6)));
|
||||
result.push(("null", Value::Null));
|
||||
result.push(("true", Value::Bool(true)));
|
||||
result.push(("false", Value::Bool(false)));
|
||||
|
||||
result.push((
|
||||
"currentSystem",
|
||||
|
|
Loading…
Reference in a new issue