refactor(tvix/nix-compat): add text_hash_string function
Use it to calculate the text_hash_string, which is then used in the calculate_derivation_path and path_with_references functions. Relates to b/263. Change-Id: I7478825e2a23a11224212fea5e3fd06daa97d5e5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8364 Autosubmit: flokli <flokli@flokli.de> Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
This commit is contained in:
parent
14c5781389
commit
971080c912
4 changed files with 58 additions and 60 deletions
|
|
@ -7,6 +7,7 @@ pub mod nixhash;
|
|||
mod nixhash_algos;
|
||||
mod nixhash_with_mode;
|
||||
pub mod store_path;
|
||||
mod texthash;
|
||||
|
||||
/// Nix placeholders (i.e. values returned by `builtins.placeholder`)
|
||||
/// are used to populate outputs with paths that must be
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue