From c45de33c67a7273fc87a654696d15010df0f5c6d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 3 Feb 2010 21:13:37 +0000 Subject: [PATCH] * Respect @sysconfdir@. --- scripts/build-remote.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-remote.pl.in b/scripts/build-remote.pl.in index da26b8596..f9315975b 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: $?";