diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-12-05 18:00:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-05 18:00:57 +0000 |
commit | 9497a77fed58d22866d632901da3ed344e82f2b5 (patch) | |
tree | b05b2d89653d64bab3cc2aed298d61b394aa88e4 /pkgs/development/libraries/nlohmann_json | |
parent | 4d8ab2a7038169050381133439b450bec1858577 (diff) | |
parent | 4c37153a2cd7fa736fddbfc310804d71b220f81f (diff) |
Merge master into staging-next
Diffstat (limited to 'pkgs/development/libraries/nlohmann_json')
-rw-r--r-- | pkgs/development/libraries/nlohmann_json/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/nlohmann_json/default.nix b/pkgs/development/libraries/nlohmann_json/default.nix index 6f3ce7b3c5fea..339db2bb08792 100644 --- a/pkgs/development/libraries/nlohmann_json/default.nix +++ b/pkgs/development/libraries/nlohmann_json/default.nix @@ -24,10 +24,10 @@ in stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake ]; cmakeFlags = [ - "-DJSON_BuildTests=${if finalAttrs.doCheck then "ON" else "OFF"}" + "-DJSON_BuildTests=${if finalAttrs.finalPackage.doCheck then "ON" else "OFF"}" "-DJSON_FastTests=ON" "-DJSON_MultipleHeaders=ON" - ] ++ lib.optional finalAttrs.doCheck "-DJSON_TestDataDirectory=${testData}"; + ] ++ lib.optional finalAttrs.finalPackage.doCheck "-DJSON_TestDataDirectory=${testData}"; doCheck = stdenv.hostPlatform == stdenv.buildPlatform; |