forked from mirrors/nixpkgs
pkgsStatic.rapidjson: disable checks
This commit is contained in:
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";
|
||||
|
|
Loading…
Reference in a new issue