[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
137/257: gnu: ghc-fgl: Replace "--allow-newer" flags.
From: |
Ricardo Wurmus |
Subject: |
137/257: gnu: ghc-fgl: Replace "--allow-newer" flags. |
Date: |
Thu, 27 Sep 2018 15:47:15 -0400 (EDT) |
rekado pushed a commit to branch wip-haskell
in repository guix.
commit 94f1d68bc4e2ef325c134c24f3085aacb97bf37b
Author: Timothy Sample <address@hidden>
Date: Mon Sep 3 21:03:38 2018 -0400
gnu: ghc-fgl: Replace "--allow-newer" flags.
* gnu/packages/haskell.scm (ghc-fgl)[arguments]: Replace "--allow-newer"
configure flags with a phase that patches the Cabal file.
---
gnu/packages/haskell.scm | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 9bb81cd..4ddd6dc 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -3525,8 +3525,15 @@ variety of traversals.")
"1i6cp4b3w7sjk7y1dq3fh6bci2sm5h3lnbbaw9ln19nwncg2wwll"))))
(build-system haskell-build-system)
(arguments
- `(#:configure-flags (list "--allow-newer=QuickCheck"
- "--allow-newer=hspec")))
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'update-constraints
+ (lambda _
+ (substitute* "fgl.cabal"
+ (("QuickCheck >= 2\\.8 && < 2\\.10")
+ "QuickCheck >= 2.8 && < 2.12")
+ (("hspec >= 2\\.1 && < 2\\.5")
+ "hspec >= 2.1 && < 2.6")))))))
(inputs
`(("ghc-hspec" ,ghc-hspec)
("ghc-quickcheck" ,ghc-quickcheck)))
- 156/257: gnu: ghc-network: Update to 2.6.3.6., (continued)
- 156/257: gnu: ghc-network: Update to 2.6.3.6., Ricardo Wurmus, 2018/09/27
- 150/257: gnu: ghc-distributive: Update Cabal file to r6., Ricardo Wurmus, 2018/09/27
- 180/257: gnu: ghc-hslua: Update to 0.9.5.2., Ricardo Wurmus, 2018/09/27
- 146/257: gnu: ghc-openglraw: Update to 3.3.1.0., Ricardo Wurmus, 2018/09/27
- 145/257: gnu: Add ghc-memotrie., Ricardo Wurmus, 2018/09/27
- 143/257: gnu: ghc-doctest: Update to 0.16.0., Ricardo Wurmus, 2018/09/27
- 144/257: gnu: ghc-fgl-arbitrary: Replace "--allow-newer" flags., Ricardo Wurmus, 2018/09/27
- 141/257: gnu: Add ghc-newtype-generics., Ricardo Wurmus, 2018/09/27
- 142/257: gnu: ghc-unliftio: Update to 0.2.7.0., Ricardo Wurmus, 2018/09/27
- 138/257: gnu: ghc-generic-deriving: Update to 1.12.2., Ricardo Wurmus, 2018/09/27
- 137/257: gnu: ghc-fgl: Replace "--allow-newer" flags.,
Ricardo Wurmus <=
- 132/257: gnu: ghc-securemem: Update to 0.1.10., Ricardo Wurmus, 2018/09/27
- 129/257: gnu: ghc-blaze-html: Update to 0.9.1.1., Ricardo Wurmus, 2018/09/27
- 120/257: gnu: ghc-blaze-markup: Update to 0.8.2.1., Ricardo Wurmus, 2018/09/27
- 114/257: gnu: ghc-tasty: Update to 1.1.0.3., Ricardo Wurmus, 2018/09/27
- 124/257: gnu: ghc-hourglass: Update to 0.2.12., Ricardo Wurmus, 2018/09/27
- 122/257: gnu: ghc-cryptohash-md5: Update Cabal file to r2., Ricardo Wurmus, 2018/09/27
- 108/257: gnu: ghc-glob: Update to 0.9.2., Ricardo Wurmus, 2018/09/27
- 109/257: gnu: ghc-hmatrix: Update to 0.19.0.0., Ricardo Wurmus, 2018/09/27
- 107/257: gnu: ghc-chunked-data: Update to 0.3.1., Ricardo Wurmus, 2018/09/27
- 106/257: gnu: ghc-semigroups: Update to 0.18.5., Ricardo Wurmus, 2018/09/27