pkgsStatic.rapidjson: disable checks

This commit is contained in:
tobim
2022-08-10 00:34:22 +02:00
committed by GitHub
parent c52294359c
commit 9f980dee7f
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DGTEST_SOURCE_DIR=${gtest.dev}/include"
] ++ lib.optionals stdenv.hostPlatform.isStatic [
] ++ lib.optionals (!doCheck) [
"-DRAPIDJSON_BUILD_TESTS=OFF"
];
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
runHook postCheck
'';
doCheck = true;
doCheck = !stdenv.hostPlatform.isStatic;
meta = with lib; {
description = "Fast JSON parser/generator for C++ with both SAX/DOM style API";