* Respect @sysconfdir@.
This commit is contained in:
		
							parent
							
								
									d0c32dc135
								
							
						
					
					
						commit
						c45de33c67
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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: $?"; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue