rapidjson: disable tests when valgrind is unavailable (#434801)

This commit is contained in:
dotlambda
2025-08-19 19:24:47 -07:00
committed by GitHub
+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