[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
137/272: gnu: ghc-fgl: Replace "--allow-newer" flags.
From: |
Ricardo Wurmus |
Subject: |
137/272: gnu: ghc-fgl: Replace "--allow-newer" flags. |
Date: |
Mon, 1 Oct 2018 06:13:33 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 98993f605b3562f4b9df5061da37df4e75a1c4fe
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)))
- 104/272: gnu: ghc-unordered-containers: Update to 0.2.9.0., (continued)
- 104/272: gnu: ghc-unordered-containers: Update to 0.2.9.0., Ricardo Wurmus, 2018/10/01
- 96/272: gnu: ghc-async: Update to 2.2.1., Ricardo Wurmus, 2018/10/01
- 84/272: gnu: ghc-test-framework: Update to 0.8.2.0., Ricardo Wurmus, 2018/10/01
- 98/272: gnu: ghc-crypto-api: Update to 0.13.3., Ricardo Wurmus, 2018/10/01
- 121/272: gnu: ghc-cookie: Update to 0.4.4., Ricardo Wurmus, 2018/10/01
- 123/272: gnu: ghc-cryptohash-sha1: Update Cabal file to r2., Ricardo Wurmus, 2018/10/01
- 126/272: gnu: ghc-tar: Update to 0.5.1.0., Ricardo Wurmus, 2018/10/01
- 125/272: gnu: ghc-integer-logarithms: Replace "--allow-newer" flag., Ricardo Wurmus, 2018/10/01
- 115/272: gnu: ghc-contravariant-extras: Update to 0.3.4., Ricardo Wurmus, 2018/10/01
- 135/272: gnu: ghc-base-orphans: Update to 0.7., Ricardo Wurmus, 2018/10/01
- 137/272: gnu: ghc-fgl: Replace "--allow-newer" flags.,
Ricardo Wurmus <=
- 138/272: gnu: ghc-generic-deriving: Update to 1.12.2., Ricardo Wurmus, 2018/10/01
- 133/272: gnu: ghc-uuid: Update Cabal file to r2 and relax dependencies., Ricardo Wurmus, 2018/10/01
- 141/272: gnu: Add ghc-newtype-generics., Ricardo Wurmus, 2018/10/01
- 146/272: gnu: ghc-openglraw: Update to 3.3.1.0., Ricardo Wurmus, 2018/10/01
- 144/272: gnu: ghc-fgl-arbitrary: Replace "--allow-newer" flags., Ricardo Wurmus, 2018/10/01
- 147/272: gnu: ghc-temporary: Update to 1.3., Ricardo Wurmus, 2018/10/01
- 143/272: gnu: ghc-doctest: Update to 0.16.0., Ricardo Wurmus, 2018/10/01
- 166/272: gnu: ghc-megaparsec: Update to 6.5.0., Ricardo Wurmus, 2018/10/01
- 155/272: gnu: ghc-mockery: Update to 0.3.5., Ricardo Wurmus, 2018/10/01
- 163/272: gnu: ghc-comonad: Update to 5.0.4., Ricardo Wurmus, 2018/10/01