3
0
Fork 0
forked from mirrors/nixpkgs

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
commit 94f5552fff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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