gnu: ghc@8.4: Adjust test suite for Python 3.10.
This applies the substitution added in 48718135e7
also for GHC@8.4.  Somehow this problem is not fatal there and went unnoticed.
* gnu/packages/haskell.scm (ghc-8.4)[native-inputs]: Patch the test driver for
Python 3.10 compatibility.
			
			
This commit is contained in:
		
							parent
							
								
									4ac042cced
								
							
						
					
					
						commit
						29e4955d0d
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		|  | @ -701,7 +701,13 @@ interactive environment for the functional language Haskell.") | |||
|                  version "/" name "-" version "-testsuite.tar.xz")) | ||||
|            (sha256 | ||||
|             (base32 | ||||
|              "0s8lf9sxj7n89pjagi58b3fahnp34qvmwhnn0j1fbg6955vbrfj6")))))) | ||||
|              "0s8lf9sxj7n89pjagi58b3fahnp34qvmwhnn0j1fbg6955vbrfj6")) | ||||
|            (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"))))))) | ||||
|     (arguments | ||||
|      (substitute-keyword-arguments (package-arguments ghc-8.0) | ||||
|        ((#:phases phases) | ||||
|  |  | |||
		Reference in a new issue