lix/src
John Ericson 7af743470c Make public keys and requireSigs local-store specific again
Thanks @regnat and @edolstra for catching this and comming up with the
solution.

They way I had generalized those is wrong, because local settings for
non-local stores is confusing default. And due to the nature of C++
inheritance, fixing the defaults is more annoying than it should be.
Additionally, I thought we might just drop the check in the substitution
logic since `Store::addToStore` is now streaming, but @regnat rightfully
pointed out that as it downloads dependencies first, that would still be
too late, and also waste effort on possibly unneeded/unwanted
dependencies.

The simple and correct thing to do is just make a store method for the
boolean logic, keeping all the setting and key stuff the way it was
before. That new method is both used by `LocalStore::addToStore` and the
substitution goal check. Perhaps we might eventually make it fancier,
e.g. sending the ValidPathInfo to remote stores for them to validate,
but this is good enough for now.
2021-01-15 16:37:41 +00:00
..
build-remote build-remote no longer requires local store be local 2020-12-23 22:42:06 +00:00
cpptoml
libexpr Convert option descriptions to Markdown 2021-01-13 14:18:04 +01:00
libfetchers string2Int(): Return std::optional 2021-01-08 12:22:21 +01:00
libmain Convert option descriptions to Markdown 2021-01-13 14:18:04 +01:00
libstore Make public keys and requireSigs local-store specific again 2021-01-15 16:37:41 +00:00
libutil Fix tests 2021-01-08 14:17:06 +01:00
nix Add 'nix daemon' command 2021-01-14 00:05:04 +01:00
nix-build nix-build: Fix #4197 output order regression 2020-11-13 17:49:27 +01:00
nix-channel Remove static variable name clashes 2020-10-06 13:49:20 +02:00
nix-collect-garbage Remove static variable name clashes 2020-10-06 13:49:20 +02:00
nix-copy-closure Remove static variable name clashes 2020-10-06 13:49:20 +02:00
nix-env string2Int(): Return std::optional 2021-01-08 12:22:21 +01:00
nix-instantiate Split out local-fs-store.hh 2020-10-09 20:18:08 +00:00
nix-store Add 'nix store repair' command 2021-01-13 23:27:39 +01:00
resolve-system-dependencies