rapidjson: disable tests when valgrind is unavailable

This commit is contained in:
Weijia Wang
2025-08-18 21:20:33 +02:00
parent 319663db54
commit cc8d978de7
+3 -1
View File
@@ -69,7 +69,9 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeFeature "CMAKE_CXX_FLAGS_RELEASE" "-Wno-error")
];
doCheck = !(stdenv.hostPlatform.isStatic || stdenv.hostPlatform.isDarwin);
doCheck =
!(stdenv.hostPlatform.isStatic || stdenv.hostPlatform.isDarwin)
&& lib.meta.availableOn stdenv.hostPlatform valgrind;
nativeCheckInputs = [
valgrind