forked from lix-project/hydra
Merge pull request #749 from lopsided98/localhost-no-remote
Don't distribute localhost builds to other builders
This commit is contained in:
commit
ace30b4184
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue