feat(tvix/eval): add builtins.langVersion
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>
This commit is contained in:
		
							parent
							
								
									f7ba502005
								
							
						
					
					
						commit
						8497b83569
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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(),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue