diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2022-05-23 16:50:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-23 16:50:18 -0700 |
commit | 60129f5a70c69c41b360a685c2c5565c43d07809 (patch) | |
tree | ec546faef46747b58b4253f5b07796f43fcce36d /pkgs/applications/graphics | |
parent | 392b95da611e9ebf71d95767233b21b8102c77bf (diff) | |
parent | 87e0baba2d3725299019b066ec849312fd29e463 (diff) |
Merge pull request #174180 from sikmir/gnuclad
gnuclad: enable on darwin
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r-- | pkgs/applications/graphics/gnuclad/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/gnuclad/default.nix b/pkgs/applications/graphics/gnuclad/default.nix index a1b4accc8d595..0ac22106b989c 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; }; } |