[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
33/257: gnu: ghc-zlib: Relax test framework dependency constraints.
From: |
Ricardo Wurmus |
Subject: |
33/257: gnu: ghc-zlib: Relax test framework dependency constraints. |
Date: |
Thu, 27 Sep 2018 15:46:53 -0400 (EDT) |
rekado pushed a commit to branch wip-haskell
in repository guix.
commit 0c140395526faeb61f069dbdabf42691598272f3
Author: Timothy Sample <address@hidden>
Date: Thu Sep 6 14:08:08 2018 -0400
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(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 696f421..9ed7554 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)
- 78/257: gnu: ghc-vector: Update Cabal file to r3., (continued)
- 78/257: gnu: ghc-vector: Update Cabal file to r3., Ricardo Wurmus, 2018/09/27
- 76/257: gnu: ghc-th-expand-syns: Update to 0.4.4.0., Ricardo Wurmus, 2018/09/27
- 77/257: gnu: ghc-utility-ht: Update to 0.0.14., Ricardo Wurmus, 2018/09/27
- 74/257: gnu: ghc-safe: Update to 0.3.17., Ricardo Wurmus, 2018/09/27
- 57/257: gnu: ghc-monad-control: Update to 1.0.2.3., Ricardo Wurmus, 2018/09/27
- 61/257: gnu: ghc-syb: Update to 0.7., Ricardo Wurmus, 2018/09/27
- 51/257: gnu: ghc-transformers-base: Update to 0.4.5.2., Ricardo Wurmus, 2018/09/27
- 49/257: gnu: ghc-th-lift: Update to 0.7.11., Ricardo Wurmus, 2018/09/27
- 47/257: gnu: ghc-tagged: Update Cabal file to r2., Ricardo Wurmus, 2018/09/27
- 44/257: gnu: ghc-sdl-image: Update to 0.6.2.0., Ricardo Wurmus, 2018/09/27
- 33/257: gnu: ghc-zlib: Relax test framework dependency constraints.,
Ricardo Wurmus <=
- 35/257: gnu: ghc-ansi-terminal: Update to 0.8.0.4., Ricardo Wurmus, 2018/09/27
- 27/257: gnu: ghc-unexceptionalio: Update to 0.4.0., Ricardo Wurmus, 2018/09/27
- 24/257: gnu: ghc-th-abstraction: Update to 0.2.8.0., Ricardo Wurmus, 2018/09/27
- 167/257: gnu: ghc-opengl: Update to 3.0.2.2., Ricardo Wurmus, 2018/09/27
- 71/257: gnu: ghc-lifted-base: Update to 0.2.3.12., Ricardo Wurmus, 2018/09/27
- 60/257: gnu: ghc-reflection: Update to 2.1.4., Ricardo Wurmus, 2018/09/27
- 56/257: gnu: ghc-mime-types: Update to 0.1.0.8., Ricardo Wurmus, 2018/09/27
- 59/257: gnu: ghc-quickcheck: Update to 2.11.3., Ricardo Wurmus, 2018/09/27
- 42/257: gnu: ghc-old-time: Update Cabal file to r2., Ricardo Wurmus, 2018/09/27
- 38/257: gnu: ghc-generics-sop: Update to 0.3.2.0., Ricardo Wurmus, 2018/09/27