Author: ludo
Date: Mon Jul  4 13:55:02 2011
New Revision: 27592
URL: https://svn.nixos.org/websvn/nix/?rev=27592&sc=1

Log:
hydra_build.pl: Honor `$build->timeout'.

Modified:
   hydra/trunk/src/script/hydra_build.pl.in

Modified: hydra/trunk/src/script/hydra_build.pl.in
==============================================================================
--- hydra/trunk/src/script/hydra_build.pl.in    Mon Jul  4 11:52:44 2011        
(r27591)
+++ hydra/trunk/src/script/hydra_build.pl.in    Mon Jul  4 13:55:02 2011        
(r27592)
@@ -235,7 +235,9 @@
         # Run Nix to perform the build, and monitor the stderr output
         # to get notifications about specific build steps, the
         # associated log files, etc.
+       # Note: `--timeout' was added in Nix 1.0pre27564, June 2011.
         my $cmd = "nix-store --realise $drvPath " .
+           "--timeout $timeout " .
             "--max-silent-time $maxsilent --keep-going --fallback " .
             "--no-build-output --log-type flat --print-build-trace " .
             "--add-root " . gcRootFor $outPath . " 2>&1";
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to