diff options
author | Florian Klink <flokli@flokli.de> | 2023-03-14T23·40+0100 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2023-03-15T14·02+0000 |
commit | 09b30f895a4901557194179182840320c829b471 (patch) | |
tree | b364eef101c5723dc3607f08a9ac91420dc81320 /tvix/nix-compat/Cargo.toml | |
parent | 4d465249eff7488e712586bf693668d513211632 (diff) |
refactor(tvix/nix-compat): simplify fingerprint calculation r/6011
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>
Diffstat (limited to 'tvix/nix-compat/Cargo.toml')
0 files changed, 0 insertions, 0 deletions