catch2_3: fix pkgsLLVM checkPhase

This commit is contained in:
winston
2025-11-04 20:25:47 +01:00
parent b07ca7b994
commit badad83085

View File

@@ -40,9 +40,9 @@ stdenv.mkDerivation rec {
"-DCATCH_BUILD_TESTING=${if doCheck then "ON" else "OFF"}"
"-DCATCH_ENABLE_WERROR=OFF"
]
++ lib.optionals (stdenv.hostPlatform.isDarwin && doCheck) [
++ lib.optionals (stdenv.cc.isClang && doCheck) [
# test has a faulty path normalization technique that won't work in
# our darwin build environment https://github.com/catchorg/Catch2/issues/1691
# our darwin/LLVM build environment https://github.com/catchorg/Catch2/issues/1691
"-DCMAKE_CTEST_ARGUMENTS=-E;ApprovalTests"
];