git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #119921 from marsam/fix-python310-darwin
commit30d6de540436ec206676aab38c94125a724659b0 authorSandro <sandro.jaeckel@gmail.com> dateMon 21 Jun 2021, 11:26 (5 years ago) parent971bd9c1b2f9c0
1 file changed+2−2
pkgs/development/interpreters/python/cpython/default.nix+2−2
pkgs/development/interpreters/python/cpython/default.nix+2−2
@@ -208,7 +208,7 @@ in with passthru; stdenv.mkDerivation {
208208 # * https://bugs.python.org/issue35523
209209 # * https://github.com/python/cpython/commit/e6b247c8e524
210210 ./3.7/no-win64-workaround.patch
211− ] ++ optionals (isPy37 || isPy38 || isPy39) [
211+ ] ++ optionals (pythonAtLeast "3.7") [
212212 # Fix darwin build https://bugs.python.org/issue34027
213213 ./3.7/darwin-libutil.patch
214214 ] ++ optionals (pythonOlder "3.8") [
@@ -227,7 +227,7 @@ in with passthru; stdenv.mkDerivation {
227227 (
228228 if isPy35 then
229229 ./3.5/python-3.x-distutils-C++.patch
230− else if isPy37 || isPy38 || isPy39 then
230+ else if pythonAtLeast "3.7" then
231231 ./3.7/python-3.x-distutils-C++.patch
232232 else
233233 fetchpatch {