stormlib: fix build on darwin

This commit is contained in:
Weijia Wang 2024-01-21 19:22:58 +01:00
parent 47e878f094
commit c448fd07c9

View file

@ -25,6 +25,11 @@ stdenv.mkDerivation rec {
buildInputs = [ bzip2 libtomcrypt zlib ] ++
lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Carbon ];
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isClang [
"-Wno-implicit-function-declaration"
"-Wno-int-conversion"
]);
meta = with lib; {
homepage = "https://github.com/ladislav-zezula/StormLib";
license = licenses.mit;