[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
33/272: gnu: ghc-zlib: Relax test framework dependency constraints.
From: |
Ricardo Wurmus |
Subject: |
33/272: gnu: ghc-zlib: Relax test framework dependency constraints. |
Date: |
Mon, 1 Oct 2018 06:13:08 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit e09ef4fccaddfeb74ecab8cc7ab9a24be9b019f9
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)
- 11/272: gnu: ghc-entropy: Update to 0.4.1.1., (continued)
- 11/272: gnu: ghc-entropy: Update to 0.4.1.1., Ricardo Wurmus, 2018/10/01
- 10/272: gnu: ghc-easy-file: Update to 0.2.2., Ricardo Wurmus, 2018/10/01
- 03/272: build-system: haskell: Add #:cabal-revision argument., Ricardo Wurmus, 2018/10/01
- 12/272: gnu: ghc-geniplate-mirror: Update to 0.7.6., Ricardo Wurmus, 2018/10/01
- 15/272: gnu: ghc-microlens: Update to 0.4.9.1., Ricardo Wurmus, 2018/10/01
- 17/272: gnu: ghc-old-locale: Update Cabal file to r2., Ricardo Wurmus, 2018/10/01
- 18/272: gnu: ghc-parallel: Update to 3.2.2.0., Ricardo Wurmus, 2018/10/01
- 25/272: gnu: ghc-transformers-compat: Update to 0.6.2., Ricardo Wurmus, 2018/10/01
- 29/272: gnu: ghc-unliftio-core: Update Cabal file to r1., Ricardo Wurmus, 2018/10/01
- 32/272: gnu: ghc-xhtml: Update to 3000.2.2.1., Ricardo Wurmus, 2018/10/01
- 33/272: gnu: ghc-zlib: Relax test framework dependency constraints.,
Ricardo Wurmus <=
- 19/272: gnu: ghc-parser-combinators: Update to 1.0.0., Ricardo Wurmus, 2018/10/01
- 23/272: gnu: ghc-stringbuilder: Update to 0.5.1., Ricardo Wurmus, 2018/10/01
- 16/272: gnu: ghc-network-info: Update to 0.2.0.10., Ricardo Wurmus, 2018/10/01
- 20/272: gnu: ghc-sdl: Update to 0.6.7.0., Ricardo Wurmus, 2018/10/01
- 24/272: gnu: ghc-th-abstraction: Update to 0.2.8.0., Ricardo Wurmus, 2018/10/01
- 39/272: gnu: ghc-microlens-th: Update to 0.4.2.2., Ricardo Wurmus, 2018/10/01
- 37/272: gnu: ghc-foundation: Update to 0.0.21., Ricardo Wurmus, 2018/10/01
- 38/272: gnu: ghc-generics-sop: Update to 0.3.2.0., Ricardo Wurmus, 2018/10/01
- 22/272: gnu: ghc-simple-reflect: Update to 0.3.3., Ricardo Wurmus, 2018/10/01
- 26/272: gnu: ghc-unbounded-delays: Update to 0.1.1.0., Ricardo Wurmus, 2018/10/01