diff options
author | Vincent Ambo <mail@tazj.in> | 2022-12-12T15·21+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-12-21T22·37+0000 |
commit | 29790147b6f8c1fe763c25716f5a17a8c529ae5f (patch) | |
tree | f8dfd547d1170b2979a63341197715969112ece8 /tvix | |
parent | 0ef3c2fc2beb65b594de2ebc2574776b20205494 (diff) |
fix(tvix/cli): use tvix_eval::StdIO in CLI r/5461
... 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
Diffstat (limited to 'tvix')
-rw-r--r-- | tvix/cli/src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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<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(); |