lix/src/libstore
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
..
builtins hashed-mirrors: Use parsed derivation output rather than reconstructing it 2020-06-22 15:17:20 +00:00
binary-cache-store.cc Revert the enum struct change 2020-06-18 22:11:26 +00:00
binary-cache-store.hh Remove addToStore variant as requested by FIXME 2020-05-29 17:02:32 -04:00
build.cc More designated initializers 2020-06-19 17:42:56 +00:00
builtins.hh buildenv: Eliminate global variables, other cleanup 2020-03-24 14:06:47 +01:00
content-address.cc More designated initializers 2020-06-19 17:42:56 +00:00
content-address.hh Merge remote-tracking branch 'me/no-stringly-typed-derivation-output' into validPathInfo-ca-proper-datatype 2020-06-19 15:26:59 +00:00
crypto.cc
crypto.hh
daemon.cc Merge branch 'validPathInfo-temp' into validPathInfo-ca-proper-datatype 2020-06-18 23:01:58 +00:00
daemon.hh Recursive Nix support 2019-11-06 00:52:38 +01:00
derivations.cc Merge remote-tracking branch 'me/no-stringly-typed-derivation-output' into validPathInfo-ca-proper-datatype 2020-06-19 15:26:59 +00:00
derivations.hh Merge remote-tracking branch 'me/no-stringly-typed-derivation-output' into validPathInfo-ca-proper-datatype 2020-06-19 15:26:59 +00:00
export-import.cc Revert the enum struct change 2020-06-18 22:11:26 +00:00
filetransfer.cc Revert the enum struct change 2020-06-18 22:11:26 +00:00
filetransfer.hh fixes to merged code 2020-05-11 15:52:15 -06:00
fs-accessor.hh Shut up some warnings 2019-09-22 21:57:05 +02:00
gc.cc Revert the enum struct change 2020-06-18 22:11:26 +00:00
globals.cc Show hint how to enable experimental features 2020-05-12 15:47:09 +02:00
globals.hh Disable extra-platforms = i686-linux on wsl1 (#3676) 2020-06-09 21:53:53 +00:00
http-binary-cache-store.cc datatransfer.{cc,hh} -> filetransfer.{cc,hh} 2020-04-08 22:26:57 +02:00
legacy-ssh-store.cc Merge branch 'validPathInfo-temp' into validPathInfo-ca-proper-datatype 2020-06-18 23:01:58 +00:00
local-binary-cache-store.cc remove 'format' from Error constructor calls 2020-04-21 17:07:07 -06:00
local-fs-store.cc Remove StorePath::clone() and related functions 2020-06-16 22:20:18 +02:00
local-store.cc More designated initializers 2020-06-19 17:42:56 +00:00
local-store.hh Revert the enum struct change 2020-06-18 22:11:26 +00:00
local.mk StorePath: Rewrite in C++ 2020-06-16 14:28:41 +02:00
machines.cc getMachines(): Cache result 2019-04-01 21:09:35 +02:00
machines.hh
misc.cc Revert the enum struct change 2020-06-18 22:11:26 +00:00
names.cc Move names.{cc,hh} to libstore 2020-06-11 15:42:18 +02:00
names.hh Move names.{cc,hh} to libstore 2020-06-11 15:42:18 +02:00
nar-accessor.cc remove 'format' from Error constructor calls 2020-04-21 17:07:07 -06:00
nar-accessor.hh
nar-info-disk-cache.cc Merge branch 'validPathInfo-temp' into validPathInfo-ca-proper-datatype 2020-06-18 23:01:58 +00:00
nar-info-disk-cache.hh Misc changes from the flakes branch 2020-03-24 14:34:47 +01:00
nar-info.cc Merge branch 'validPathInfo-temp' into validPathInfo-ca-proper-datatype 2020-06-18 23:01:58 +00:00
nar-info.hh Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
nix-store.pc.in pkg-config files: Use c++17 2019-03-14 14:11:12 +01:00
optimise-store.cc Revert the enum struct change 2020-06-18 22:11:26 +00:00
parsed-derivations.cc Reserve the __contentAddressed derivation parameter 2020-06-17 15:41:17 +02:00
parsed-derivations.hh Merge branch 'validPathInfo-temp' into validPathInfo-ca-proper-datatype 2020-06-18 23:01:58 +00:00
path.cc Revert the enum struct change 2020-06-18 22:11:26 +00:00
path.hh Merge branch 'validPathInfo-temp' into validPathInfo-ca-proper-datatype 2020-06-18 23:01:58 +00:00
pathlocks.cc convert some printError calls to logError 2020-05-03 08:01:25 -06:00
pathlocks.hh Use BSD instead of POSIX file locks 2019-08-02 18:39:16 +02:00
profiles.cc remove 'format' from Error constructor calls 2020-04-21 17:07:07 -06:00
profiles.hh Misc changes from the flakes branch 2020-03-24 14:34:47 +01:00
references.cc Revert the enum struct change 2020-06-18 22:11:26 +00:00
references.hh Allow content-addressable paths to have references 2019-10-21 17:47:24 +02:00
remote-fs-accessor.cc StorePath: Rewrite in C++ 2020-06-16 14:28:41 +02:00
remote-fs-accessor.hh
remote-store.cc Merge branch 'validPathInfo-temp' into validPathInfo-ca-proper-datatype 2020-06-18 23:01:58 +00:00
remote-store.hh Revert the enum struct change 2020-06-18 22:11:26 +00:00
s3-binary-cache-store.cc Revert the enum struct change 2020-06-18 22:11:26 +00:00
s3-binary-cache-store.hh
s3.hh DataTransfer -> FileTransfer 2020-04-08 22:26:57 +02:00
sandbox-defaults.sb sandbox: fix /bin/sh on catalina 2020-03-20 22:12:30 +01:00
sandbox-minimal.sb
sandbox-network.sb
schema.sql
serve-protocol.hh Make adding paths via nix-store --serve run in constant memory 2018-08-03 21:21:16 +02:00
sqlite.cc Get rid of explicit ErrorInfo constructors 2020-06-15 14:06:58 +02:00
sqlite.hh formatting and a few minor changes 2020-05-13 15:56:39 -06:00
ssh-store.cc Fix segfault in gcc on i686-linux 2020-02-07 13:01:48 +01:00
ssh.cc Revert the enum struct change 2020-06-18 22:11:26 +00:00
ssh.hh SSHMaster: Bypass SSH when connecting to localhost 2018-08-03 21:20:38 +02:00
store-api.cc Merge remote-tracking branch 'me/no-stringly-typed-derivation-output' into validPathInfo-ca-proper-datatype 2020-06-19 15:26:59 +00:00
store-api.hh Merge branch 'validPathInfo-temp' into validPathInfo-ca-proper-datatype 2020-06-18 23:01:58 +00:00
worker-protocol.hh Remove Store::queryDerivationOutputNames() 2020-06-12 12:46:33 +02:00