re2: fix test timeouts

The default timeout value is too low for slow builders.
This commit is contained in:
FliegendeWurst
2025-04-10 23:02:48 +02:00
parent 5a6f2d8719
commit a5154988da
+4 -1
View File
@@ -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)