about summary refs log tree commit diff
path: root/tvix/nix-compat
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/nix-compat')
-rw-r--r--tvix/nix-compat/src/nixhash.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/nixhash.rs b/tvix/nix-compat/src/nixhash.rs
index ceea886a4c6f..a1886039b07e 100644
--- a/tvix/nix-compat/src/nixhash.rs
+++ b/tvix/nix-compat/src/nixhash.rs
@@ -62,7 +62,7 @@ pub enum Error {
     InvalidAlgo(String),
     #[error("invalid sri string")]
     InvalidSRI,
-    #[error("invalid encoded digest length '{0}' for algo {0}")]
+    #[error("invalid encoded digest length '{0}' for algo {1}")]
     InvalidEncodedDigestLength(usize, HashAlgo),
     #[error("invalid base16 encoding: {0}")]
     InvalidBase16Encoding(data_encoding::DecodeError),