* nix-copy-closure: compute the closure in one call to nix-store,
which is much faster.
This commit is contained in:
parent
6e946c8e72
commit
47706e3924
2 changed files with 10 additions and 26 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue