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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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