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 (lib.cmakeFeature "CMAKE_CXX_FLAGS_RELEASE" "-Wno-error") 70 ]; 71 72 - doCheck = !(stdenv.hostPlatform.isStatic || stdenv.hostPlatform.isDarwin); 73 74 nativeCheckInputs = [ 75 valgrind
··· 69 (lib.cmakeFeature "CMAKE_CXX_FLAGS_RELEASE" "-Wno-error") 70 ]; 71 72 + doCheck = 73 + !(stdenv.hostPlatform.isStatic || stdenv.hostPlatform.isDarwin) 74 + && lib.meta.availableOn stdenv.hostPlatform valgrind; 75 76 nativeCheckInputs = [ 77 valgrind