1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 08:31:16 +02:00

nix-copy-closure / build-remote.pl: Disable signature checking

This restores the Nix 1.11 behaviour.
This commit is contained in:
Eelco Dolstra 2016-05-31 11:18:45 +02:00
parent e4f0ba55ac
commit c2d27d30cf
12 changed files with 20 additions and 17 deletions

View file

@ -82,7 +82,7 @@ struct NopSink : ParseSink
{
};
Paths Store::importPaths(Source & source, std::shared_ptr<FSAccessor> accessor)
Paths Store::importPaths(Source & source, std::shared_ptr<FSAccessor> accessor, bool dontCheckSigs)
{
Paths res;
while (true) {
@ -117,7 +117,7 @@ Paths Store::importPaths(Source & source, std::shared_ptr<FSAccessor> accessor)
if (readInt(source) == 1)
readString(source);
addToStore(info, *tee.data);
addToStore(info, *tee.data, false, dontCheckSigs);
// FIXME: implement accessors?
assert(!accessor);