about summary refs log tree commit diff
path: root/tvix/store
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/store')
-rw-r--r--tvix/store/src/bin/tvix-store.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/tvix/store/src/bin/tvix-store.rs b/tvix/store/src/bin/tvix-store.rs
index 2669073c9140..dcc6d5df8f45 100644
--- a/tvix/store/src/bin/tvix-store.rs
+++ b/tvix/store/src/bin/tvix-store.rs
@@ -276,10 +276,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
 
                         // Ask the PathInfoService for the NAR size and sha256
                         let root_node_copy = root_node.clone();
-                        let path_info_service_clone = path_info_service.clone();
-                        let (nar_size, nar_sha256) = path_info_service_clone
-                            .calculate_nar(&root_node_copy)
-                            .await?;
+                        let (nar_size, nar_sha256) =
+                            path_info_service.calculate_nar(&root_node_copy).await?;
 
                         let name = path
                             .file_name()