mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-18 17:01:51 -05:00
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
1 changed files with 9 additions and 1 deletions
|
@ -2044,7 +2044,15 @@ (define-public ghc-zlib
|
||||||
(base32
|
(base32
|
||||||
"1vbzf0awb6zb456xf48za1kl22018646cfzq4frvxgb9ay97vk0d"))))
|
"1vbzf0awb6zb456xf48za1kl22018646cfzq4frvxgb9ay97vk0d"))))
|
||||||
(build-system haskell-build-system)
|
(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)))
|
(inputs `(("zlib" ,zlib)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("ghc-quickcheck" ,ghc-quickcheck)
|
`(("ghc-quickcheck" ,ghc-quickcheck)
|
||||||
|
|
Loading…
Reference in a new issue