diff options
Diffstat (limited to 'tvix/nix-compat/src/store_path/utils.rs')
-rw-r--r-- | tvix/nix-compat/src/store_path/utils.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/store_path/utils.rs b/tvix/nix-compat/src/store_path/utils.rs index 31964bc6b1ff..94e9f106d9d5 100644 --- a/tvix/nix-compat/src/store_path/utils.rs +++ b/tvix/nix-compat/src/store_path/utils.rs @@ -167,7 +167,7 @@ fn build_store_path_from_fingerprint_parts<B: AsRef<[u8]>>( name: B, ) -> Result<StorePath, Error> { let name = name.as_ref(); - let name = super::validate_name(name.as_ref())?; + let name = super::validate_name(name.as_ref())?.to_owned(); let digest = compress_hash(&{ let mut h = Sha256::new(); |