python311Packages.pyvips: fix build with clang 16
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user