feat(tvix/nix-compat): add nixhash module
This module takes care of parsing various hashes and algorithms. It will get used to modify derivation output hashes in the next CL. Change-Id: Idc07c401dbb7510f49883ac02b8379b9a5d930c7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7990 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
This commit is contained in:
parent
366d2c5e92
commit
265dd36b98
2 changed files with 359 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ use sha2::{Digest, Sha256};
|
|||
pub mod derivation;
|
||||
pub mod nar;
|
||||
pub mod nixbase32;
|
||||
pub mod nixhash;
|
||||
pub mod store_path;
|
||||
|
||||
/// Nix placeholders (i.e. values returned by `builtins.placeholder`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue