pkgsStatic.python314: fix build

This commit is contained in:
Ihar Hrachyshka
2026-03-21 19:12:33 -04:00
parent e3e9c86e41
commit 5e45722b67
2 changed files with 55 additions and 0 deletions
@@ -427,6 +427,11 @@ stdenv.mkDerivation (finalAttrs: {
# backport fix for https://github.com/python/cpython/issues/95855
./platform-triplet-detection.patch
]
++ optionals (static && pythonAtLeast "3.14") [
# https://github.com/python/cpython/issues/146264
# https://github.com/python/cpython/pull/146265
./3.14/hacl-static-ldeps-for-static-modules.patch
]
++ optionals (version == "3.13.10" || version == "3.14.1") [
# https://github.com/python/cpython/issues/142218
./${lib.versions.majorMinor version}/gh-142218.patch