forked from lix-project/lix
* Respect @sysconfdir@.
This commit is contained in:
parent
d0c32dc135
commit
c45de33c67
|
@ -203,7 +203,7 @@ $outputs =~ s/\n/ /g;
|
||||||
print "copying inputs...\n";
|
print "copying inputs...\n";
|
||||||
|
|
||||||
my $maybeSign = "";
|
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
|
system("NIX_SSHOPTS=\"@sshOpts\" @bindir@/nix-copy-closure $hostName $maybeSign $drvPath $inputs") == 0
|
||||||
or die "cannot copy inputs to $hostName: $?";
|
or die "cannot copy inputs to $hostName: $?";
|
||||||
|
|
Loading…
Reference in a new issue