From a5154988dae95371b90575a7e8a791f106557bd9 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Thu, 10 Apr 2025 18:30:51 +0200 Subject: [PATCH] re2: fix test timeouts The default timeout value is too low for slow builders. --- pkgs/by-name/re/re2/package.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/re/re2/package.nix b/pkgs/by-name/re/re2/package.nix index 278d63702ed2..8781413e48ba 100644 --- a/pkgs/by-name/re/re2/package.nix +++ b/pkgs/by-name/re/re2/package.nix @@ -44,7 +44,10 @@ stdenv.mkDerivation (finalAttrs: { propagatedBuildInputs = [ abseil-cpp ] ++ lib.optionals (!stdenv.hostPlatform.isStatic) [ icu ]; cmakeFlags = - [ (lib.cmakeBool "RE2_BUILD_TESTING" true) ] + [ + (lib.cmakeBool "RE2_BUILD_TESTING" true) + (lib.cmakeFeature "CMAKE_CTEST_ARGUMENTS" "--timeout;999999") + ] ++ lib.optionals (!stdenv.hostPlatform.isStatic) [ (lib.cmakeBool "RE2_USE_ICU" true) (lib.cmakeBool "BUILD_SHARED_LIBS" true)