pkgsStatic.rapidjson: fix build

The library itself compiles fine, but the tests don't.
This commit is contained in:
Tobias Mayer 2022-08-09 18:16:17 +02:00
parent bbd9e0bfd0
commit c52294359c

View file

@ -38,6 +38,8 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DGTEST_SOURCE_DIR=${gtest.dev}/include"
] ++ lib.optionals stdenv.hostPlatform.isStatic [
"-DRAPIDJSON_BUILD_TESTS=OFF"
];
checkInputs = [