@@ -428,12 +428,21 @@ (define-public python-3.10
(method url-fetch)
(uri (string-append "https://www.python.org/ftp/python/"
version "/Python-" version ".tar.xz"))
- (patches (search-patches
- "python-3-arm-alignment.patch"
- "python-3-deterministic-build-info.patch"
- "python-3-fix-tests.patch"
- "python-3-hurd-configure.patch"
- "python-3-search-paths.patch"))
+ (patches
+ (cons*
+ ;; https://github.com/python/cpython/pull/8226
+ (origin
+ (method url-fetch)
+ (uri "https://github.com/python/cpython/commit/6c8ea7c1dacd42f3ba00440231ec0e6b1a38300d.patch")
+ (sha256
+ (base32
+ "13llngsyskp4c9j8lwqqpwp7h07mxai734zk1i387z8g261jk46v")))
+ (search-patches
+ "python-3-arm-alignment.patch"
+ "python-3-deterministic-build-info.patch"
+ "python-3-fix-tests.patch"
+ "python-3-hurd-configure.patch"
+ "python-3-search-paths.patch")))
(sha256
(base32
"0j6wvh2ad5jjq5n7sjmj1k66mh6lipabavchc3rb4vsinwaq9vbf"))