diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-02-07T16·28+0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-02-07T17·40+0000 |
commit | 5da1f4161ce7c64b35b2d7c72f04dc1a830034c6 (patch) | |
tree | 18590791a46d9cbdac6bdc93ce6663a21cb7c069 /tvix/nix-compat/src | |
parent | 87e1934f2d08127cc064279a02b462eabbbdf3ee (diff) |
fix(tvix): fix InvalidEncodedDigestLength message r/5841
Before: error[E997]: invalid output hash: invalid encoded digest length '43' for algo 43 After: error[E997]: invalid output hash: invalid encoded digest length '43' for algo sha256 Change-Id: Icb533839586b47f90b4e8d22083cce397f9f3655 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8035 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/nix-compat/src')
-rw-r--r-- | tvix/nix-compat/src/nixhash.rs | 2 |
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), |