* nix-copy-closure: compute the closure in one call to nix-store,

which is much faster.
This commit is contained in:
Eelco Dolstra 2009-03-28 21:10:29 +00:00
parent 6e946c8e72
commit 47706e3924
2 changed files with 10 additions and 26 deletions

View file

@ -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";