stormlib: fix build on darwin
This commit is contained in:
parent
47e878f094
commit
c448fd07c9
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue