aboutsummaryrefslogtreecommitdiff
path: root/src/nix/add-to-store.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-06-22 15:17:20 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-06-22 15:17:20 +0000
commitf4a5913125cb6a8ccfba556a0d75b19c2a5cfa37 (patch)
tree0ab872b4236dd53620808cec23f3c39cf9e107bb /src/nix/add-to-store.cc
parent965b80347e97169f266466603e29a57359c4083c (diff)
hashed-mirrors: Use parsed derivation output rather than reconstructing it
Now the derivation outputs are parsed up front, we can avoid a reparse by doing it. Also, this just feels a bit better as the `output*` env vars are more of a `libnixexpr` interface than `libnixstore` interface: ultimately, it's the derivation outputs that decide whether the derivation is fixed-output. Yes, hashed mirrors might go away with #3689, but this bit of code would be moved rather than deleted, so it's worth doing a cleanup anyways I think.
Diffstat (limited to 'src/nix/add-to-store.cc')
0 files changed, 0 insertions, 0 deletions