gnuclad: enable on darwin

This commit is contained in:
Nikolay Korotkiy 2022-05-23 23:15:20 +03:00
parent 26e7906a96
commit 87e0baba2d
No known key found for this signature in database
GPG key ID: D1DE6D7F693663A5

View file

@ -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;
};
}