diff options
Diffstat (limited to 'tvix/derivation/src/output.rs')
-rw-r--r-- | tvix/derivation/src/output.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/derivation/src/output.rs b/tvix/derivation/src/output.rs index 36a480d5a0d7..ac5a7bcb6c2d 100644 --- a/tvix/derivation/src/output.rs +++ b/tvix/derivation/src/output.rs @@ -1,5 +1,5 @@ use serde::{Deserialize, Serialize}; -use tvix_store::{nixbase32::NIXBASE32, store_path::StorePath}; +use tvix_store::{nixbase32, store_path::StorePath}; use crate::OutputError; @@ -27,7 +27,7 @@ impl Output { pub fn validate(&self, validate_output_paths: bool) -> Result<(), OutputError> { if let Some(hash) = &self.hash { // try to decode digest - let result = NIXBASE32.decode(&hash.digest.as_bytes()); + let result = nixbase32::decode(&hash.digest.as_bytes()); match result { Err(e) => return Err(OutputError::InvalidHashEncoding(hash.digest.clone(), e)), Ok(digest) => { |