hydra-queue-runner: don't try to distribute builds on localhost

This commit is contained in:
Ben Wolsieffer
2020-05-03 00:05:52 -04:00
committed by GitHub
parent c82f51751d
commit f020f7efef

View File

@ -50,7 +50,7 @@ static void openConnection(Machine::ptr machine, Path tmpDir, int stderrFD, Chil
Strings argv;
if (machine->isLocalhost()) {
pgmName = "nix-store";
argv = {"nix-store", "--serve", "--write"};
argv = {"nix-store", "--builders", "", "--serve", "--write"};
}
else {
pgmName = "ssh";