summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-01-19 22:11:12 +0100
committerLudovic Courtès <ludo@gnu.org>2016-01-19 22:12:11 +0100
commitaf46761302db744257ca06ad3c0aa7cc3be1c5ce (patch)
tree60ac3f616515eb25570bdf302cad080bb44b6baf
parentf495301902a398f1d7ec4ceb7b9fc262240d8c8d (diff)
downloadguix-af46761302db744257ca06ad3c0aa7cc3be1c5ce.tar.gz
hydra: Honor the 'max-silent-time' package property.
Suggested by Mark H Weaver <mhw@netris.org>.

* build-aux/hydra/gnu-system.scm (package->alist): Add
'max-silent-time' pair.
-rw-r--r--build-aux/hydra/gnu-system.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/build-aux/hydra/gnu-system.scm b/build-aux/hydra/gnu-system.scm
index d586d90ae2..c3cb9cc7fa 100644
--- a/build-aux/hydra/gnu-system.scm
+++ b/build-aux/hydra/gnu-system.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -78,6 +78,9 @@
     (license . ,(package-license package))
     (home-page . ,(package-home-page package))
     (maintainers . ("bug-guix@gnu.org"))
+    (max-silent-time . ,(or (assoc-ref (package-properties package)
+                                       'max-silent-time)
+                            3600))                ; 1 hour by default
     (timeout . ,(or (assoc-ref (package-properties package) 'timeout)
                     72000)))) ; 20 hours by default