cataclysm-dda: fix clang build

/cc ZHF #36454
This commit is contained in:
Daiderd Jordan 2018-03-14 22:41:47 +01:00
parent d1812a8761
commit 5defdee634
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -46,6 +46,8 @@ stdenv.mkDerivation rec {
"WARNINGS+=-Wno-inconsistent-missing-override"
];
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-user-defined-warnings";
postBuild = stdenv.lib.optionalString (tiles && stdenv.isDarwin) ''
# iconutil on macOS is not available in nixpkgs
png2icns data/osx/AppIcon.icns data/osx/AppIcon.iconset/*