doctest: disable tests on isStatic platforms (#458967)

This commit is contained in:
Sandro
2025-11-07 17:34:30 +00:00
committed by GitHub
+6
View File
@@ -29,6 +29,12 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
cmakeFlags = lib.optionals stdenv.hostPlatform.isStatic [
# One of the examples tests shared library support
# and fails linking.
"-DDOCTEST_WITH_TESTS=OFF"
];
doCheck = true;
# Fix the build with LLVM 21 / GCC 15.