about summary refs log tree commit diff
path: root/scripts/build-remote.pl.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build-remote.pl.in')
-rwxr-xr-xscripts/build-remote.pl.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-remote.pl.in b/scripts/build-remote.pl.in
index f9315975b01c..da26b85969a8 100755
--- a/scripts/build-remote.pl.in
+++ b/scripts/build-remote.pl.in
@@ -203,7 +203,7 @@ $outputs =~ s/\n/ /g;
 print "copying inputs...\n";
 
 my $maybeSign = "";
-$maybeSign = "--sign" if -e "@sysconfdir@/nix/signing-key.sec";
+$maybeSign = "--sign" if -e "/nix/etc/nix/signing-key.sec";
 
 system("NIX_SSHOPTS=\"@sshOpts\" @bindir@/nix-copy-closure $hostName $maybeSign $drvPath $inputs") == 0
     or die "cannot copy inputs to $hostName: $?";