gnu: rust: Work around Hydra bug.

* gnu/packages/rust.scm (rust-1.20)[properties]: Work around Hydra bug.
This commit is contained in:
Danny Milosavljevic 2019-03-17 10:59:56 +01:00
parent 707c761f1b
commit 7311ed3f86
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -430,7 +430,13 @@ (define-public rust-1.20
(package
(inherit base-rust)
(outputs '("out" "doc" "cargo"))
(properties '())
;; Since rust-1.19 is local, it's quite probable that Hydra
;; will build rust-1.19 only as a dependency of rust-1.20.
;; But then Hydra will use the wrong properties, the ones here,
;; for rust-1.19. Therefore, we copied the properties of
;; rust-1.19 here.
(properties '((timeout . 72000) ;20 hours
(max-silent-time . 18000))) ;5 hours (for armel)
(arguments
(substitute-keyword-arguments (package-arguments rust-1.19)
((#:phases phases)