tvl-depot/tvix/nix-compat
Florian Klink 09b30f895a refactor(tvix/nix-compat): simplify fingerprint calculation
Instead of having two very similar match branches for the FOD and non-
FOD case, detect the FOD case while looping over all outputs.

In the case of anything other than recursive sha256 FODs, the
fingerprint and output path calculation is exactly the same.

Change-Id: Ieb6995653d008766e595cf29d7cd4fb1334e33dd
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8310
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: flokli <flokli@flokli.de>
2023-03-15 14:02:24 +00:00
..
src refactor(tvix/nix-compat): simplify fingerprint calculation 2023-03-15 14:02:24 +00:00
Cargo.toml refactor(tvix/nix-compat): -derivation::Hash, +NixHash 2023-03-15 11:50:12 +00:00
default.nix refactor(tvix): introduce nix-compat crate 2023-01-31 13:26:18 +00:00