about summary refs log tree commit diff
path: root/tvix/nix-compat/src/narinfo/fingerprint.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/nix-compat/src/narinfo/fingerprint.rs')
-rw-r--r--tvix/nix-compat/src/narinfo/fingerprint.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/nix-compat/src/narinfo/fingerprint.rs b/tvix/nix-compat/src/narinfo/fingerprint.rs
index fdf221f5f256..bcbc2ce59fa5 100644
--- a/tvix/nix-compat/src/narinfo/fingerprint.rs
+++ b/tvix/nix-compat/src/narinfo/fingerprint.rs
@@ -11,12 +11,12 @@ pub fn fingerprint<'a, R: Iterator<Item = &'a StorePathRef<'a>>>(
 ) -> String {
     format!(
         "1;{};sha256:{};{};{}",
-        store_path.to_owned().to_absolute_path(), // TODO: move to StorePathRef
+        store_path.to_absolute_path(),
         nixbase32::encode(nar_sha256),
         nar_size,
         // references are absolute paths, joined with `,`.
         references
-            .map(|r| r.to_owned().to_absolute_path())
+            .map(|r| r.to_absolute_path())
             .collect::<Vec<String>>()
             .join(",")
     )