diff options
author | Florian Klink <flokli@flokli.de> | 2024-03-14T12·32+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-03-14T23·10+0000 |
commit | 905a79308e8b9b66736e6cc62edc62d60f026cb9 (patch) | |
tree | d523841aa9b9f93e75fc7004eb5edcbd146f7342 /tvix/Cargo.nix | |
parent | 142c72e070e32710cb691c0c3b79babad595cb62 (diff) |
refactor(nix-compat/derivation): emphasize aterm_bytes r/7694
derivation_or_fod_hash constructs ATerm bytes and feeds them to sha256. input_derivations being slightly modified is an implementation detail, so move the BTreeMap construction inline, and have aterm_bytes in a let binding (and feed it to the hash function directly while constructing it). This makes it a bit more understandable what's going on. Change-Id: I2f5cfbd1c964fd39ac731ca39e76cfc168f4c7d7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11147 Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de> Reviewed-by: John Ericson <git@johnericson.me>
Diffstat (limited to 'tvix/Cargo.nix')
0 files changed, 0 insertions, 0 deletions