Merge pull request #185812 from tobim/pkgs/rapidjson-static

pkgsStatic.rapidjson: fix build
This commit is contained in:
Robert Scott
2022-08-10 00:15:30 +01:00
committed by GitHub
@@ -38,6 +38,8 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DGTEST_SOURCE_DIR=${gtest.dev}/include"
] ++ lib.optionals (!doCheck) [
"-DRAPIDJSON_BUILD_TESTS=OFF"
];
checkInputs = [
@@ -52,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";