diff options
Diffstat (limited to 'tvix/cli/src/main.rs')
-rw-r--r-- | tvix/cli/src/main.rs | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tvix/cli/src/main.rs b/tvix/cli/src/main.rs index 76e6d66298f5..90e3e0d59a20 100644 --- a/tvix/cli/src/main.rs +++ b/tvix/cli/src/main.rs @@ -73,12 +73,18 @@ fn interpret(code: &str, path: Option<PathBuf>, args: &Args, explain: bool) -> b let blob_service = MemoryBlobService::default(); let directory_service = MemoryDirectoryService::default(); - let path_info_service = - MemoryPathInfoService::new(Box::new(blob_service.clone()), directory_service.clone()); + let path_info_service = MemoryPathInfoService::new( + Box::new(blob_service.clone()), + Box::new(directory_service.clone()), + ); eval.io_handle = Box::new(tvix_io::TvixIO::new( known_paths.clone(), - tvix_store::TvixStoreIO::new(Box::new(blob_service), directory_service, path_info_service), + tvix_store::TvixStoreIO::new( + Box::new(blob_service), + Box::new(directory_service), + path_info_service, + ), )); // bundle fetchurl.nix (used in nixpkgs) by resolving <nix> to |