python39: fix build on macOS
Basically the same changes as in 81d15948cc19c2584f13031518349327ce353c82 but for python3.9 instead of python3.8.
This commit is contained in:
parent
001cf3f926
commit
2379e36124
@ -107,7 +107,7 @@ in with passthru; stdenv.mkDerivation {
|
|||||||
# Backport a fix for discovering `rpmbuild` command when doing `python setup.py bdist_rpm` to 3.5, 3.6, 3.7.
|
# Backport a fix for discovering `rpmbuild` command when doing `python setup.py bdist_rpm` to 3.5, 3.6, 3.7.
|
||||||
# See: https://bugs.python.org/issue11122
|
# See: https://bugs.python.org/issue11122
|
||||||
./3.7/fix-hardcoded-path-checking-for-rpmbuild.patch
|
./3.7/fix-hardcoded-path-checking-for-rpmbuild.patch
|
||||||
] ++ optionals (isPy37 || isPy38) [
|
] ++ optionals (isPy37 || isPy38 || isPy39) [
|
||||||
# Fix darwin build https://bugs.python.org/issue34027
|
# Fix darwin build https://bugs.python.org/issue34027
|
||||||
./3.7/darwin-libutil.patch
|
./3.7/darwin-libutil.patch
|
||||||
] ++ optionals (isPy3k && hasDistutilsCxxPatch) [
|
] ++ optionals (isPy3k && hasDistutilsCxxPatch) [
|
||||||
@ -118,7 +118,7 @@ in with passthru; stdenv.mkDerivation {
|
|||||||
(
|
(
|
||||||
if isPy35 then
|
if isPy35 then
|
||||||
./3.5/python-3.x-distutils-C++.patch
|
./3.5/python-3.x-distutils-C++.patch
|
||||||
else if isPy37 || isPy38 then
|
else if isPy37 || isPy38 || isPy39 then
|
||||||
./3.7/python-3.x-distutils-C++.patch
|
./3.7/python-3.x-distutils-C++.patch
|
||||||
else
|
else
|
||||||
fetchpatch {
|
fetchpatch {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user