From 29790147b6f8c1fe763c25716f5a17a8c529ae5f Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 12 Dec 2022 18:21:34 +0300 Subject: 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 Tested-by: BuildkiteCI --- tvix/cli/src/main.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'tvix') diff --git a/tvix/cli/src/main.rs b/tvix/cli/src/main.rs index 8374ec42e61a..7e6b7520b019 100644 --- a/tvix/cli/src/main.rs +++ b/tvix/cli/src/main.rs @@ -39,6 +39,7 @@ struct Args { /// evaluation succeeded. fn interpret(code: &str, path: Option, 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(); -- cgit 1.4.1