diff options
Diffstat (limited to 'tvix/nix-compat/src/derivation/write.rs')
-rw-r--r-- | tvix/nix-compat/src/derivation/write.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/nix-compat/src/derivation/write.rs b/tvix/nix-compat/src/derivation/write.rs index a603c7a19d4e..f20bf4e121d2 100644 --- a/tvix/nix-compat/src/derivation/write.rs +++ b/tvix/nix-compat/src/derivation/write.rs @@ -137,8 +137,8 @@ pub(crate) fn write_outputs( let (mode_and_algo, digest) = match &output.ca_hash { Some(ca_hash) => ( - format!("{}{}", ca_kind_prefix(ca_hash), ca_hash.digest().algo()), - data_encoding::HEXLOWER.encode(ca_hash.digest().digest_as_bytes()), + format!("{}{}", ca_kind_prefix(ca_hash), ca_hash.hash().algo()), + data_encoding::HEXLOWER.encode(ca_hash.hash().digest_as_bytes()), ), None => ("".to_string(), "".to_string()), }; |