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 11 12 12 buildInputs = [ libX11 libXt ]; 13 13 14 - configureFlags = [ "--prefix=$(out)" ]; 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 + ]); 15 19 16 20 preInstall = '' 17 21 mkdir -p $out/bin