gnu: ghc-zlib: Relax test framework dependency constraints.
* gnu/packages/haskell.scm (ghc-zlib)[arguments]: Remove "--allow-newer" configure flag and add a phase that removes dependency version constraints from some of the test frameworks.
This commit is contained in:
parent
6c76f51f96
commit
e09ef4fcca
|
@ -2044,7 +2044,15 @@ literals.")
|
|||
(base32
|
||||
"1vbzf0awb6zb456xf48za1kl22018646cfzq4frvxgb9ay97vk0d"))))
|
||||
(build-system haskell-build-system)
|
||||
(arguments `(#:configure-flags (list "--allow-newer=tasty")))
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'strip-test-framework-constraints
|
||||
(lambda _
|
||||
(substitute* "zlib.cabal"
|
||||
(("tasty >= 0\\.8 && < 0\\.12") "tasty")
|
||||
(("tasty-hunit >= 0\\.8 && < 0\\.10") "tasty-hunit")
|
||||
(("tasty-quickcheck == 0\\.8\\.\\*") "tasty-quickcheck")))))))
|
||||
(inputs `(("zlib" ,zlib)))
|
||||
(native-inputs
|
||||
`(("ghc-quickcheck" ,ghc-quickcheck)
|
||||
|
|
Loading…
Reference in New Issue