about summary refs log tree commit diff
path: root/scripts/build-remote.pl.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-02-03T21·13+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-02-03T21·13+0000
commitc45de33c67a7273fc87a654696d15010df0f5c6d (patch)
treed8c45e3801eaf469514361b303ef039f679b094a /scripts/build-remote.pl.in
parentd0c32dc135f147ad352e28ff8c648e611516edec (diff)
* Respect @sysconfdir@.
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 da26b85969a8..f9315975b01c 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 "/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: $?";