1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-20 23:28:26 -04:00
nix/src/libstore/builtins
John Ericson f4a5913125 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.
2020-06-22 15:17:20 +00:00
..
buildenv.cc Get rid of explicit ErrorInfo constructors 2020-06-15 14:06:58 +02:00
buildenv.hh buildenv: Eliminate global variables, other cleanup 2020-03-24 14:06:47 +01:00
fetchurl.cc hashed-mirrors: Use parsed derivation output rather than reconstructing it 2020-06-22 15:17:20 +00:00
unpack-channel.cc Drop remaining uses of external "tar" 2019-11-26 22:07:28 +01:00