Merge pull request #174617 from risicle/ris-python-pot-darwin-fix

python3Packages.pot: fix build on darwin
This commit is contained in:
Robert Scott
2022-05-26 19:14:31 +01:00
committed by GitHub
@@ -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