about summary refs log tree commit diff
path: root/tvix/store/src/import.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/store/src/import.rs')
-rw-r--r--tvix/store/src/import.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/import.rs b/tvix/store/src/import.rs
index 1e12bd36e460..6aee2af98f82 100644
--- a/tvix/store/src/import.rs
+++ b/tvix/store/src/import.rs
@@ -85,7 +85,7 @@ fn process_entry<BS: BlobService, CS: ChunkService + std::marker::Sync, DS: Dire
                 .to_str()
                 .map(|s| Ok(s.to_owned()))
                 .unwrap_or(Err(Error::InvalidEncoding(entry.path().to_path_buf())))?,
-            digest: directory_digest,
+            digest: directory_digest.to_vec(),
             size: directory_size,
         }));
     }