about summary refs log tree commit diff
path: root/scripts/build-remote.pl.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-03-28T21·10+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-03-28T21·10+0000
commit47706e3924cf592a4e0085eb2e45f0e84b67f933 (patch)
treea8774f45ed36fa8798f81470ed8ce07736e91253 /scripts/build-remote.pl.in
parent6e946c8e72e0fd2baa58cab484a34debd2ae906d (diff)
* nix-copy-closure: compute the closure in one call to nix-store,
  which is much faster.

Diffstat (limited to 'scripts/build-remote.pl.in')
-rwxr-xr-xscripts/build-remote.pl.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-remote.pl.in b/scripts/build-remote.pl.in
index 91b57d5f24f6..ef8d3bbea02c 100755
--- a/scripts/build-remote.pl.in
+++ b/scripts/build-remote.pl.in
@@ -175,7 +175,7 @@ print "copying inputs...\n";
 my $maybeSign = "";
 $maybeSign = "--sign" if -e "/nix/etc/nix/signing-key.sec";
 
-system("NIX_SSHOPTS=\"$sshOpts\" nix-copy-closure --gzip $hostName $maybeSign $drvPath $inputs") == 0
+system("NIX_SSHOPTS=\"$sshOpts\" @bindir@/nix-copy-closure --gzip $hostName $maybeSign $drvPath $inputs") == 0
     or die "cannot copy inputs to $hostName: $?";
 
 print "building...\n";