forked from lix-project/hydra
* Pass `-j 1' to hydra_eval_jobs to ensure that it can make progress
even when all the remote build slots are in use. The evaluator can cause builds if Nix expressions import derivations (e.g. in pkgs/build-support/vm to compute the RPM/Deb closures). If there are no free build slots, the evaluator can hang for a long time.
This commit is contained in:
parent
bb7f82840b
commit
e2e4b49b98
|
@ -459,7 +459,7 @@ sub evalJobs {
|
|||
my $nixExprFullPath = $nixExprInput->{storePath} . "/" . $nixExprPath;
|
||||
|
||||
(my $res, my $jobsXml, my $stderr) = captureStdoutStderr(10800,
|
||||
("hydra_eval_jobs", $nixExprFullPath, "--gc-roots-dir", getGCRootsDir, inputsToArgs($inputInfo)));
|
||||
("hydra_eval_jobs", $nixExprFullPath, "--gc-roots-dir", getGCRootsDir, "-j", 1, inputsToArgs($inputInfo)));
|
||||
die "Cannot evaluate the Nix expression containing the jobs:\n$stderr" unless $res;
|
||||
|
||||
print STDERR "$stderr";
|
||||
|
|
Loading…
Reference in a new issue