tvl-depot/tvix/derivation
Florian Klink fc177af0c1 refactor(tvix/derivation): pass fingerprint to build_store_path
All of these occurences are actually sha256 digests of some fingerprint
- which means there's not a lot of need to do the hashing outside.
Instead of passing in a digest, keep the sha256 hasher in the function,
and pass in a fingerprint.

This makes it much easier to construct fingerprints using format!() in
all consumers, because we need don't need to juggle with the hasher
anymore.

Change-Id: I2dc3af2cab6cf06f55ae6cbd9a8be95faf2a07b6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7907
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2023-01-23 13:40:46 +00:00
..
src refactor(tvix/derivation): pass fingerprint to build_store_path 2023-01-23 13:40:46 +00:00
Cargo.toml feat(tvix/derivation): more checks for output hashes and encoding 2023-01-18 17:13:23 +00:00
default.nix fix(tvix/derivation): fix build after StorePath rename 2023-01-06 17:57:06 +00:00