python311Packages.pyvips: fix build with clang 16

This commit is contained in:
Weijia Wang
2023-11-05 23:23:11 +01:00
parent c26d8cceae
commit 4b95c63e9f
@@ -26,6 +26,10 @@ buildPythonPackage rec {
propagatedBuildInputs = [ cffi ];
env = lib.optionalAttrs stdenv.cc.isClang {
NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-function-pointer-types";
};
nativeCheckInputs = [ pytestCheckHook ];
postPatch = ''