[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/10: gnu: GHC: Adjust for Python 3.10.
From: |
guix-commits |
Subject: |
02/10: gnu: GHC: Adjust for Python 3.10. |
Date: |
Thu, 1 Sep 2022 17:44:50 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 48718135e74994e671eaf6dc6b74ac90e1e8a939
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Aug 12 13:46:41 2022 +0200
gnu: GHC: Adjust for Python 3.10.
* gnu/packages/haskell.scm (ghc-8.6, ghc-8.8, ghc-8.10)[native-inputs]:
Patch
the test suite for Python 3.10 compatibility.
---
gnu/packages/haskell.scm | 24 +++++++++++++++++++++---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 2eb5d6461c..7f0e3e8cb4 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -766,7 +766,13 @@ interactive environment for the functional language
Haskell.")
(patches (search-patches "ghc-testsuite-dlopen-pie.patch"))
(sha256
(base32
- "0pw9r91g2np3i806g2f4f8z4jfdd7mx226cmdizk4swa7av1qf91"))))
+ "0pw9r91g2np3i806g2f4f8z4jfdd7mx226cmdizk4swa7av1qf91"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; collections.Iterable was moved to collections.abc in Python
3.10.
+ '(substitute* "testsuite/driver/testlib.py"
+ (("collections\\.Iterable")
+ "collections.abc.Iterable")))))
,@(filter (match-lambda
(("ghc-bootstrap" . _) #f)
(("ghc-testsuite" . _) #f)
@@ -841,7 +847,13 @@ interactive environment for the functional language
Haskell.")
(patches (search-patches "ghc-testsuite-dlopen-pie.patch"))
(sha256
(base32
- "0c55pj2820q26rikhpf636sn4mjgqsxjrl94vsywrh79dxp3k14z"))))
+ "0c55pj2820q26rikhpf636sn4mjgqsxjrl94vsywrh79dxp3k14z"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; collections.Iterable was moved to collections.abc in Python
3.10.
+ '(substitute* "testsuite/driver/testlib.py"
+ (("collections\\.Iterable")
+ "collections.abc.Iterable")))))
("git" ,git-minimal/fixed) ; invoked during tests
,@(filter (match-lambda
(("ghc-bootstrap" . _) #f)
@@ -893,7 +905,13 @@ interactive environment for the functional language
Haskell.")
(patches (search-patches "ghc-testsuite-dlopen-pie.patch"))
(sha256
(base32
- "1zl25gg6bpx5601k8h3cqnns1xfc0nqgwnh8jvn2s65ra3f2g1nz"))))
+ "1zl25gg6bpx5601k8h3cqnns1xfc0nqgwnh8jvn2s65ra3f2g1nz"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; collections.Iterable was moved to collections.abc in Python
3.10.
+ '(substitute* "testsuite/driver/testlib.py"
+ (("collections\\.Iterable")
+ "collections.abc.Iterable")))))
("git" ,git-minimal/fixed) ; invoked during tests
,@(filter (match-lambda
(("ghc-bootstrap" . _) #f)
- branch core-updates updated (58863b93b0 -> 08380429b8), guix-commits, 2022/09/01
- 05/10: gnu: perl-io-socket-ssl: Update to 2.074., guix-commits, 2022/09/01
- 02/10: gnu: GHC: Adjust for Python 3.10.,
guix-commits <=
- 06/10: gnu: cURL: Update to 7.85.0., guix-commits, 2022/09/01
- 03/10: gnu: mozjs@78: Patch for Python 3.10., guix-commits, 2022/09/01
- 08/10: gnu: swig: Fix build with GCC-12., guix-commits, 2022/09/01
- 01/10: gnu: ruby@2.7: Incorporate grafted changes., guix-commits, 2022/09/01
- 04/10: gnu: CMake: Update to 3.24.1., guix-commits, 2022/09/01
- 07/10: gnu: llvm-14, llvm-12: Enable RTTI., guix-commits, 2022/09/01
- 09/10: gnu: doxygen: Fix build with GCC-12., guix-commits, 2022/09/01
- 10/10: gnu: boost: Update to 1.80.0., guix-commits, 2022/09/01