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.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build-remote.pl.in b/scripts/build-remote.pl.in
index ab9392bb0280..89d3a43cc655 100755
--- a/scripts/build-remote.pl.in
+++ b/scripts/build-remote.pl.in
@@ -48,8 +48,8 @@ my $loadIncreased = 0;
 
 my ($localSystem, $maxSilentTime, $printBuildTrace, $buildTimeout) = @ARGV;
 
-my $currentLoad = $ENV{"NIX_CURRENT_LOAD"};
-my $conf = $ENV{"NIX_REMOTE_SYSTEMS"};
+my $currentLoad = $ENV{"NIX_CURRENT_LOAD"} // "/run/nix/current-load";
+my $conf = $ENV{"NIX_REMOTE_SYSTEMS"} // "@sysconfdir@/nix/machines";
 
 
 sub openSlotLock {