python310Packages.pikepdf: fix build on aarch64-darwin

This commit is contained in:
Robert Schütz 2022-05-28 22:23:56 +00:00
parent dbd004ea9b
commit f0eb6d2059

View file

@ -51,6 +51,10 @@ buildPythonPackage rec {
})
];
postPatch = ''
sed -i 's|\S*/opt/homebrew.*|pass|' setup.py
'';
SETUPTOOLS_SCM_PRETEND_VERSION = version;
buildInputs = [