summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2022-01-10 01:01:29 +0100
committerGitHub <noreply@github.com>2022-01-10 01:01:29 +0100
commit7137f5e10542375124c7bcd51d7fd1a8f9aff4f4 (patch)
tree66178a38bbeefc55a0b08b6ea149be533c6d86d3
parentMerge pull request #154069 from NixOS/backport-154066-to-release-21.11 (diff)
parentfix: Python 3.10 doesn't need ctypes.util.find_library() patch (diff)
downloadnixpkgs-7137f5e10542375124c7bcd51d7fd1a8f9aff4f4.tar.gz
Merge pull request #151137 from knl/fix-python-3.10-on-21.11
-rw-r--r--pkgs/development/interpreters/python/cpython/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix
index bcfe2b8cd965..da585308a00f 100644
--- a/pkgs/development/interpreters/python/cpython/default.nix
+++ b/pkgs/development/interpreters/python/cpython/default.nix
@@ -240,6 +240,7 @@ in with passthru; stdenv.mkDerivation {
] ++ optionals (pythonAtLeast "3.9" && stdenv.isDarwin) [
# Stop checking for TCL/TK in global macOS locations
./3.9/darwin-tcl-tk.patch
+ ] ++ optionals (isPy39 && stdenv.isDarwin) [
# ctypes.util.find_library() now finds macOS 11+ system libraries when built on older macOS systems
# https://github.com/python/cpython/pull/28053
./3.9/bpo-44689-ctypes.util.find_library-now-finds-macOS-1.patch