fix(tvix/cli): use tvix_eval::StdIO in CLI
... until we have a store-I/O layer, or something that intercepts the store-related stuff appropriately. Change-Id: I22f63435b3f9e118e3faeb2924fda8373a23ea7f Reviewed-on: https://cl.tvl.fyi/c/depot/+/7568 Reviewed-by: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
This commit is contained in:
		
							parent
							
								
									0ef3c2fc2b
								
							
						
					
					
						commit
						29790147b6
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -39,6 +39,7 @@ struct Args {
 | 
			
		|||
/// evaluation succeeded.
 | 
			
		||||
fn interpret(code: &str, path: Option<PathBuf>, args: &Args) -> bool {
 | 
			
		||||
    let mut eval = tvix_eval::Evaluation::new(code, path);
 | 
			
		||||
    eval.io_handle = Box::new(tvix_eval::StdIO);
 | 
			
		||||
    eval.nix_path = args.nix_search_path.clone();
 | 
			
		||||
 | 
			
		||||
    let source_map = eval.source_map();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue