Unverified Commit 24e28f11 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

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

parents 2741ec40 cc8d978d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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