Merge pull request #315846 from wegank/gamin-darwin
gamin: fix build on darwin
This commit is contained in:
commit
ef54ee7074
@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
|
||||
sed -i 's/,--version-script=.*$/\\/' libgamin/Makefile
|
||||
'';
|
||||
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
|
||||
};
|
||||
|
||||
patches = [ ./deadlock.patch ]
|
||||
++ map fetchurl (import ./debian-patches.nix)
|
||||
++ lib.optional stdenv.cc.isClang ./returnval.patch
|
||||
|
Loading…
Reference in New Issue
Block a user