From e09ef4fccaddfeb74ecab8cc7ab9a24be9b019f9 Mon Sep 17 00:00:00 2001 From: Timothy Sample Date: Thu, 6 Sep 2018 14:08:08 -0400 Subject: 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. --- gnu/packages/haskell.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 696f42118d..9ed7554bb0 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -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) -- cgit v1.2.3