re2: fix test timeouts (#397734)

This commit is contained in:
Azat Bahawi
2025-04-12 10:09:49 +00:00
committed by GitHub
+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)