doctest: disable tests on isStatic platforms (#458967)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user