summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-02-03 21:13:37 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-02-03 21:13:37 +0000
commitc45de33c67a7273fc87a654696d15010df0f5c6d (patch)
treed8c45e3801eaf469514361b303ef039f679b094a
parentd0c32dc135f147ad352e28ff8c648e611516edec (diff)
downloadguix-c45de33c67a7273fc87a654696d15010df0f5c6d.tar.gz
* Respect @sysconfdir@.
-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 da26b85969..f9315975b0 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: $?";