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
1 changed files with 7 additions and 1 deletions

View File

@ -430,7 +430,13 @@ safety and thread safety guarantees.")
(package (package
(inherit base-rust) (inherit base-rust)
(outputs '("out" "doc" "cargo")) (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 (arguments
(substitute-keyword-arguments (package-arguments rust-1.19) (substitute-keyword-arguments (package-arguments rust-1.19)
((#:phases phases) ((#:phases phases)