diff options
author | edef <edef@edef.eu> | 2023-11-10T18·32+0000 |
---|---|---|
committer | edef <edef@edef.eu> | 2023-11-10T19·05+0000 |
commit | 4218e4dc0e5834f354b61e31aabc2cb4006d409c (patch) | |
tree | 9635b288c82b63fb16101be0ab7146d57c51d7c3 /tvix/nix-compat/src/narinfo.rs | |
parent | 7e317cfded5a5eab86111ad485816c3179a34546 (diff) |
feat(nix-compat/nixbase32): use data_encoding::DecodeError r/6983
Rather than having our own error type, just make decoding errors use the same common error type. Change-Id: Ie2c86972f3745c695253adc3214444ac0ab8db6e Reviewed-on: https://cl.tvl.fyi/c/depot/+/9995 Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/nix-compat/src/narinfo.rs')
-rw-r--r-- | tvix/nix-compat/src/narinfo.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/narinfo.rs b/tvix/nix-compat/src/narinfo.rs index 4bca115a9578..d10d0d97523f 100644 --- a/tvix/nix-compat/src/narinfo.rs +++ b/tvix/nix-compat/src/narinfo.rs @@ -465,7 +465,7 @@ pub enum Error { MissingPrefixForHash(String), #[error("unable to decode {0}: {1}")] - UnableToDecodeHash(String, nixbase32::Nixbase32DecodeError), + UnableToDecodeHash(String, data_encoding::DecodeError), #[error("unable to parse signature #{0}: {1}")] UnableToParseSignature(usize, SignatureError), |