python3Packages.pyvips: fix on darwin-aarch64 by providing pkg-config
...as well as the python package `pkgconfig`. the native `pkg-config` tool is used by the installer to locate the vips headers. if it can't do this it falls back into using libffi's "ABI mode" which results in the issues documented at https://cffi.readthedocs.io/en/latest/using.html#callbacks on darwin-aarch64.
This commit is contained in:
parent
ed3f3fb843
commit
044afc70cf
|
@ -5,7 +5,8 @@
|
|||
, glib
|
||||
, vips
|
||||
, cffi
|
||||
, pkgconfig
|
||||
, pkgconfig # from pythonPackages
|
||||
, pkg-config # from pkgs
|
||||
, lib }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -19,7 +20,7 @@ buildPythonPackage rec {
|
|||
sha256 = "sha256-qMVoVzqXALhPWVKLzu+VqihHPN7J+pMhKnXdb+ow0zw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [ pkgconfig pkg-config ];
|
||||
|
||||
buildInputs = [ glib vips ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue