From c2d27d30cfe000c4adff91e6cbde63c2a5b92b43 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 31 May 2016 11:18:45 +0200 Subject: nix-copy-closure / build-remote.pl: Disable signature checking This restores the Nix 1.11 behaviour. --- scripts/build-remote.pl.in | 2 +- scripts/nix-copy-closure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/build-remote.pl.in b/scripts/build-remote.pl.in index 4bf429411..b5fc629eb 100755 --- a/scripts/build-remote.pl.in +++ b/scripts/build-remote.pl.in @@ -271,5 +271,5 @@ if (scalar @outputs2 > 0) { writeInt(0, $to); # don't sign writeStrings(\@outputs2, $to); $ENV{'NIX_HELD_LOCKS'} = "@outputs2"; # FIXME: ugly - importPaths(fileno($from)); + importPaths(fileno($from), 1); } diff --git a/scripts/nix-copy-closure.in b/scripts/nix-copy-closure.in index 0078d7267..af1d30919 100755 --- a/scripts/nix-copy-closure.in +++ b/scripts/nix-copy-closure.in @@ -97,7 +97,7 @@ else { # Copy FROM the remote machine. writeInt(5, $to); # == cmdExportPaths writeInt(0, $to); # obsolete writeStrings(\@missing, $to); - importPaths(fileno($from)); + importPaths(fileno($from), 1); } } -- cgit v1.2.3