* Respect @sysconfdir@.

This commit is contained in:
Eelco Dolstra 2010-02-03 21:13:37 +00:00
parent d0c32dc135
commit c45de33c67
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ $outputs =~ s/\n/ /g;
print "copying inputs...\n";
my $maybeSign = "";
$maybeSign = "--sign" if -e "/nix/etc/nix/signing-key.sec";
$maybeSign = "--sign" if -e "@sysconfdir@/nix/signing-key.sec";
system("NIX_SSHOPTS=\"@sshOpts\" @bindir@/nix-copy-closure $hostName $maybeSign $drvPath $inputs") == 0
or die "cannot copy inputs to $hostName: $?";