about summary refs log tree commit diff
path: root/scripts/build-remote.pl.in
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-24T14·00+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-24T14·19+0200
commit03103c0a36cc94238542de2bdf6eedcb679cca49 (patch)
tree04ab7ba5b8568937df7331f2347ab5c982517cef /scripts/build-remote.pl.in
parent62309a2c56206821370b87285fcacacba1cb3566 (diff)
Implement nix-copy-closure --from via nix-store --serve
Diffstat (limited to 'scripts/build-remote.pl.in')
-rwxr-xr-xscripts/build-remote.pl.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build-remote.pl.in b/scripts/build-remote.pl.in
index 337374c214b5..a55d758252ea 100755
--- a/scripts/build-remote.pl.in
+++ b/scripts/build-remote.pl.in
@@ -272,7 +272,8 @@ if ($res != 0) {
 # Copy the output from the build machine.
 my @outputs2 = grep { !isValidPath($_) } @outputs;
 if (scalar @outputs2 > 0) {
-    writeInt(5, $to) or die; # == cmdExportPaths
+    writeInt(5, $to); # == cmdExportPaths
+    writeInt(0, $to); # don't sign
     writeStrings(\@outputs2, $to);
     $ENV{'NIX_HELD_LOCKS'} = "@outputs2"; # FIXME: ugly
     importPaths(fileno($from));