Merge pull request #749 from lopsided98/localhost-no-remote

Don't distribute localhost builds to other builders
This commit is contained in:
Eelco Dolstra
2020-05-04 16:36:53 +02:00
committed by GitHub

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";