diff options
author | tobim <tobim@fastmail.fm> | 2022-08-10 00:34:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-10 00:34:22 +0200 |
commit | 9f980dee7f3a386fd5df9348a9330b1e6999da9f (patch) | |
tree | 9766c0beaae66826479c2f479b2894c2bda603f5 /pkgs/development/libraries/rapidjson | |
parent | c52294359c012f330ee7e9a2e2cacf8ef9c6ffc8 (diff) |
pkgsStatic.rapidjson: disable checks
Diffstat (limited to 'pkgs/development/libraries/rapidjson')
-rw-r--r-- | pkgs/development/libraries/rapidjson/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/rapidjson/default.nix b/pkgs/development/libraries/rapidjson/default.nix index de18e3fedd69f..ac2d7e0b5f55a 100644 --- a/pkgs/development/libraries/rapidjson/default.nix +++ b/pkgs/development/libraries/rapidjson/default.nix @@ -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"; |