From 7311ed3f869a6b18dd183acdd135d033b2f2cdb0 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Sun, 17 Mar 2019 10:59:56 +0100 Subject: [PATCH] gnu: rust: Work around Hydra bug. * gnu/packages/rust.scm (rust-1.20)[properties]: Work around Hydra bug. --- gnu/packages/rust.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index be916743fb..048a91052d 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -430,7 +430,13 @@ safety and thread safety guarantees.") (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)