summary refs log tree commit diff
diff options
context:
space:
mode:
authorNikolay Korotkiy <sikmir@disroot.org>2022-05-23 23:15:20 +0300
committerNikolay Korotkiy <sikmir@disroot.org>2022-05-23 23:15:20 +0300
commit87e0baba2d3725299019b066ec849312fd29e463 (patch)
treee46987ec5294b3c8baa5579544bac6cb38fe7260
parent26e7906a969db1b2e44ca9125b985ca38c039597 (diff)
downloadnixpkgs-87e0baba2d3725299019b066ec849312fd29e463.tar
nixpkgs-87e0baba2d3725299019b066ec849312fd29e463.tar.gz
nixpkgs-87e0baba2d3725299019b066ec849312fd29e463.tar.bz2
nixpkgs-87e0baba2d3725299019b066ec849312fd29e463.tar.lz
nixpkgs-87e0baba2d3725299019b066ec849312fd29e463.tar.xz
nixpkgs-87e0baba2d3725299019b066ec849312fd29e463.tar.zst
nixpkgs-87e0baba2d3725299019b066ec849312fd29e463.zip
gnuclad: enable on darwin
-rw-r--r--pkgs/applications/graphics/gnuclad/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/gnuclad/default.nix b/pkgs/applications/graphics/gnuclad/default.nix
index a1b4accc8d5..0ac22106b98 100644
--- a/pkgs/applications/graphics/gnuclad/default.nix
+++ b/pkgs/applications/graphics/gnuclad/default.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
     sha256 = "0ka2kscpjff7gflsargv3r9fdaxhkf3nym9mfaln3pnq6q7fwdki";
   };
 
-  NIX_CFLAGS_COMPILE = "-Wno-error=catch-value";
+  NIX_CFLAGS_COMPILE = lib.optional stdenv.cc.isGNU "-Wno-error=catch-value";
 
   nativeBuildInputs = [ pkg-config ];
 
@@ -19,6 +19,6 @@ stdenv.mkDerivation rec {
     description = "gnuclad tries to help the environment by creating trees.  Its primary use will be generating cladogram trees for the GNU/Linux distro timeline project";
     license = licenses.gpl3Plus;
     maintainers = with maintainers; [ mog ];
-    platforms = platforms.linux;
+    platforms = platforms.unix;
   };
 }