mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02:00
* build-remote.pl: drop a hard-coded reference to /nix/etc/nix.
This commit is contained in:
parent
993fa94fb4
commit
ab20af3e6f
2 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
use Fcntl ':flock';
|
||||
use English '-no_match_vars';
|
||||
use IO::Handle;
|
||||
use Nix::Config;
|
||||
use Nix::SSH qw/sshOpts openSSHConnection/;
|
||||
no warnings('once');
|
||||
|
||||
|
@ -208,7 +209,7 @@ print STDERR "@ build-remote $drvPath $hostName\n" if $printBuildTrace;
|
|||
|
||||
|
||||
my $maybeSign = "";
|
||||
$maybeSign = "--sign" if -e "/nix/etc/nix/signing-key.sec";
|
||||
$maybeSign = "--sign" if -e "$Nix::Config::confDir/signing-key.sec";
|
||||
|
||||
|
||||
# Register the derivation as a temporary GC root. Note that $PPID is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue