snix/tvix/nix-compat/src/derivation
Florian Klink 971080c912 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
2023-03-30 14:03:34 +00:00
..
tests refactor(tvix/nix-compat): -derivation::Hash, +NixHash 2023-03-15 11:50:12 +00:00
errors.rs docs(tvix/nix-compat/derivation): fix docstrings 2023-01-31 15:16:40 +00:00
mod.rs refactor(tvix/nix-compat): add text_hash_string function 2023-03-30 14:03:34 +00:00
output.rs refactor(tvix/nix-compat): -derivation::Hash, +NixHash 2023-03-15 11:50:12 +00:00
string_escape.rs refactor(tvix/nix-compat): absorb //tvix/derivation 2023-01-31 15:16:39 +00:00
utils.rs refactor(tvix/nix-compat): add text_hash_string function 2023-03-30 14:03:34 +00:00
validate.rs refactor(tvix/derivation): don't create deref'd immediately ref 2023-02-01 13:38:21 +00:00
write.rs refactor(tvix/nix-compat): -derivation::Hash, +NixHash 2023-03-15 11:50:12 +00:00