Merge pull request #302403 from wegank/wily-darwin

wily: fix build on darwin

authored by Weijia Wang and committed by GitHub daf0f68e bd868fc4

+5 -1
+5 -1
pkgs/applications/editors/wily/default.nix
··· 11 12 buildInputs = [ libX11 libXt ]; 13 14 - configureFlags = [ "--prefix=$(out)" ]; 15 16 preInstall = '' 17 mkdir -p $out/bin
··· 11 12 buildInputs = [ libX11 libXt ]; 13 14 + env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isClang [ 15 + "-Wno-error=implicit-int" 16 + "-Wno-error=implicit-function-declaration" 17 + "-Wno-error=incompatible-function-pointer-types" 18 + ]); 19 20 preInstall = '' 21 mkdir -p $out/bin