diff options
Diffstat (limited to 'tvix/cli/src/main.rs')
-rw-r--r-- | tvix/cli/src/main.rs | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/tvix/cli/src/main.rs b/tvix/cli/src/main.rs index 8d3f793f52af..17632cad1aab 100644 --- a/tvix/cli/src/main.rs +++ b/tvix/cli/src/main.rs @@ -91,15 +91,12 @@ fn interpret(code: &str, path: Option<PathBuf>, args: &Args, explain: bool) -> b let known_paths: Rc<RefCell<KnownPaths>> = Default::default(); add_derivation_builtins(&mut eval, known_paths.clone()); configure_nix_path(&mut eval, &args.nix_search_path); - eval.io_handle = Box::new(tvix_glue::tvix_io::TvixIO::new( - known_paths, - TvixStoreIO::new( - blob_service, - directory_service, - path_info_service.into(), // we need an Arc<_> here. - tokio_runtime.handle().clone(), - ), - )); + eval.io_handle = Box::new(tvix_glue::tvix_io::TvixIO::new(TvixStoreIO::new( + blob_service, + directory_service, + path_info_service.into(), // we need an Arc<_> here. + tokio_runtime.handle().clone(), + ))); let source_map = eval.source_map(); let result = { |