From a7c6c90aaaf03d90ceb22b7ed85f26a963d1bfba Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Sun, 6 Feb 2022 15:37:03 -0500 Subject: [PATCH] libtensorflow: set meta.maxSilent, set timeouts only on darwin https://hydra.nixos.org/build/166438531 --- pkgs/development/python-modules/tensorflow/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/tensorflow/default.nix b/pkgs/development/python-modules/tensorflow/default.nix index 776fbaa18019..47acd1f53c75 100644 --- a/pkgs/development/python-modules/tensorflow/default.nix +++ b/pkgs/development/python-modules/tensorflow/default.nix @@ -413,8 +413,10 @@ let license = licenses.asl20; maintainers = with maintainers; [ jyp abbradar ]; platforms = with platforms; linux ++ darwin; - timeout = 86400; # 24 hours, needed for darwin broken = !(xlaSupport -> cudaSupport); + } // lib.optionalAttrs stdenv.isDarwin { + timeout = 86400; # 24 hours + maxSilent = 14400; # 4h, double the default of 7200s }; };