python3Packages.pot: fix build on darwin

This commit is contained in:
Robert Scott 2022-05-25 22:12:50 +01:00
parent c60a2b5927
commit 0cdff58b3f

View file

@ -61,6 +61,9 @@ buildPythonPackage rec {
--replace " --junit-xml=junit-results.xml" ""
substituteInPlace setup.py \
--replace '"oldest-supported-numpy", ' ""
# we don't need setup.py to find the macos sdk for us
sed -i '/sdk_path/d' setup.py
'';
# To prevent importing of an incomplete package from the build directory