Skip to content

Commit 24e28f1

Browse files
authored
rapidjson: disable tests when valgrind is unavailable (#434801)
2 parents 2741ec4 + cc8d978 commit 24e28f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkgs/by-name/ra/rapidjson/package.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ stdenv.mkDerivation (finalAttrs: {
6969
(lib.cmakeFeature "CMAKE_CXX_FLAGS_RELEASE" "-Wno-error")
7070
];
7171

72-
doCheck = !(stdenv.hostPlatform.isStatic || stdenv.hostPlatform.isDarwin);
72+
doCheck =
73+
!(stdenv.hostPlatform.isStatic || stdenv.hostPlatform.isDarwin)
74+
&& lib.meta.availableOn stdenv.hostPlatform valgrind;
7375

7476
nativeCheckInputs = [
7577
valgrind

0 commit comments

Comments
 (0)