summary refs log tree commit diff
path: root/pkgs/development/libraries/nlohmann_json/default.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-10-16 21:52:38 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2018-10-16 21:52:38 -0500
commit51e5f8af42cd51bcf3cb5c86796bca4c5af02365 (patch)
treed53238e877321c47b3874f732226a0883532bc6d /pkgs/development/libraries/nlohmann_json/default.nix
parent0397453f1a8145d68e9627ad7f2e39d57732c651 (diff)
downloadnixpkgs-51e5f8af42cd51bcf3cb5c86796bca4c5af02365.tar
nixpkgs-51e5f8af42cd51bcf3cb5c86796bca4c5af02365.tar.gz
nixpkgs-51e5f8af42cd51bcf3cb5c86796bca4c5af02365.tar.bz2
nixpkgs-51e5f8af42cd51bcf3cb5c86796bca4c5af02365.tar.lz
nixpkgs-51e5f8af42cd51bcf3cb5c86796bca4c5af02365.tar.xz
nixpkgs-51e5f8af42cd51bcf3cb5c86796bca4c5af02365.tar.zst
nixpkgs-51e5f8af42cd51bcf3cb5c86796bca4c5af02365.zip
treewide: don’t set CMAKE_SYSTEM_NAME
Diffstat (limited to 'pkgs/development/libraries/nlohmann_json/default.nix')
-rw-r--r--pkgs/development/libraries/nlohmann_json/default.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkgs/development/libraries/nlohmann_json/default.nix b/pkgs/development/libraries/nlohmann_json/default.nix
index ffb735e725a..25d4386cec2 100644
--- a/pkgs/development/libraries/nlohmann_json/default.nix
+++ b/pkgs/development/libraries/nlohmann_json/default.nix
@@ -18,8 +18,6 @@ stdenv.mkDerivation rec {
 
   cmakeFlags = [
     "-DBuildTests=${if doCheck then "ON" else "OFF"}"
-  ] ++ stdenv.lib.optionals (stdenv.hostPlatform.libc == "msvcrt") [
-    "-DCMAKE_SYSTEM_NAME=Windows"
   ];
 
   doCheck = stdenv.hostPlatform == stdenv.buildPlatform;