forked from lix-project/hydra
* Add --fallback to prevent problems with obsolete substitutes.
This commit is contained in:
parent
6cedee5476
commit
71bc5b14a0
|
@ -161,8 +161,9 @@ sub doBuild {
|
||||||
# Run Nix to perform the build, and monitor the stderr output
|
# Run Nix to perform the build, and monitor the stderr output
|
||||||
# to get notifications about specific build steps, the
|
# to get notifications about specific build steps, the
|
||||||
# associated log files, etc.
|
# associated log files, etc.
|
||||||
my $cmd = "nix-store --max-silent-time 3600 --keep-going --no-build-output " .
|
my $cmd = "nix-store --realise $drvPath " .
|
||||||
"--log-type flat --print-build-trace --realise $drvPath " .
|
"--max-silent-time 3600 --keep-going --fallback " .
|
||||||
|
"--no-build-output --log-type flat --print-build-trace " .
|
||||||
"--add-root " . gcRootFor $outPath . " 2>&1";
|
"--add-root " . gcRootFor $outPath . " 2>&1";
|
||||||
|
|
||||||
my $buildStepNr = $build->buildsteps->find({},
|
my $buildStepNr = $build->buildsteps->find({},
|
||||||
|
|
Loading…
Reference in a new issue