about summary refs log tree commit diff
path: root/tvix/nix-compat/src/lib.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-01-31T23·21+0100
committerflokli <flokli@flokli.de>2023-02-01T15·29+0000
commit265dd36b9819031e83342b4c2bf061f3c6bae22e (patch)
treec9ce0325eda15d745a18f90d805aca42e094967b /tvix/nix-compat/src/lib.rs
parent366d2c5e92dd36c3bb81397c8031c6e0227de3ce (diff)
feat(tvix/nix-compat): add nixhash module r/5806
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
Diffstat (limited to 'tvix/nix-compat/src/lib.rs')
-rw-r--r--tvix/nix-compat/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/nix-compat/src/lib.rs b/tvix/nix-compat/src/lib.rs
index 94fd88549af4..40237f94c2cd 100644
--- a/tvix/nix-compat/src/lib.rs
+++ b/tvix/nix-compat/src/lib.rs
@@ -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`)