pkgsStatic.rapidjson: disable checks
This commit is contained in:
parent
c52294359c
commit
9f980dee7f
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue