python310: drop
Reaches end of life before NixOS 26.05 and therefore has to leave early.
This commit is contained in:
@@ -368,19 +368,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# Make the mimetypes module refer to the right file
|
||||
./mimetypes.patch
|
||||
]
|
||||
++ optionals (pythonAtLeast "3.9" && pythonOlder "3.11" && stdenv.hostPlatform.isDarwin) [
|
||||
# Stop checking for TCL/TK in global macOS locations
|
||||
./3.9/darwin-tcl-tk.patch
|
||||
]
|
||||
++ optionals (hasDistutilsCxxPatch && pythonOlder "3.12") [
|
||||
# Fix for http://bugs.python.org/issue1222585
|
||||
# Upstream distutils is calling C compiler to compile C++ code, which
|
||||
# only works for GCC and Apple Clang. This makes distutils to call C++
|
||||
# compiler when needed.
|
||||
(
|
||||
if pythonAtLeast "3.7" && pythonOlder "3.11" then
|
||||
./3.7/python-3.x-distutils-C++.patch
|
||||
else if pythonAtLeast "3.11" then
|
||||
if pythonAtLeast "3.11" then
|
||||
./3.11/python-3.x-distutils-C++.patch
|
||||
else
|
||||
fetchpatch {
|
||||
|
||||
Reference in New Issue
Block a user