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

authored by

dotlambda and committed by
GitHub
24e28f11 2741ec40

+3 -1
+3 -1
pkgs/by-name/ra/rapidjson/package.nix
··· 69 69 (lib.cmakeFeature "CMAKE_CXX_FLAGS_RELEASE" "-Wno-error") 70 70 ]; 71 71 72 - doCheck = !(stdenv.hostPlatform.isStatic || stdenv.hostPlatform.isDarwin); 72 + doCheck = 73 + !(stdenv.hostPlatform.isStatic || stdenv.hostPlatform.isDarwin) 74 + && lib.meta.availableOn stdenv.hostPlatform valgrind; 73 75 74 76 nativeCheckInputs = [ 75 77 valgrind