[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
91/257: gnu: ghc-edit-distance: Replace "--allow-newer" flag.
From: |
Ricardo Wurmus |
Subject: |
91/257: gnu: ghc-edit-distance: Replace "--allow-newer" flag. |
Date: |
Thu, 27 Sep 2018 15:47:05 -0400 (EDT) |
rekado pushed a commit to branch wip-haskell
in repository guix.
commit d06d8320ce220c0e3f7bcfb2e530379d6b274db9
Author: Timothy Sample <address@hidden>
Date: Mon Sep 3 23:35:30 2018 -0400
gnu: ghc-edit-distance: Replace "--allow-newer" flag.
* gnu/packages/haskell.scm (ghc-edit-distance)[arguments]: Replace
"--allow-newer" configure flag with a phase that patches the Cabal file.
---
gnu/packages/haskell.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index b6657f1..ec262f1 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6208,7 +6208,13 @@ representations of current time.")
(base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y"))))
(build-system haskell-build-system)
(arguments
- `(#:configure-flags (list "--allow-newer=QuickCheck")))
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'update-constraints
+ (lambda _
+ (substitute* "edit-distance.cabal"
+ (("QuickCheck >= 2\\.4 && <2\\.9")
+ "QuickCheck >= 2.4 && < 2.12")))))))
(inputs
`(("ghc-random" ,ghc-random)
("ghc-test-framework" ,ghc-test-framework)
- 124/257: gnu: ghc-hourglass: Update to 0.2.12., (continued)
- 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
- 96/257: gnu: ghc-async: Update to 2.2.1., Ricardo Wurmus, 2018/09/27
- 101/257: gnu: ghc-hashtables: Update to 1.2.3.1., Ricardo Wurmus, 2018/09/27
- 95/257: gnu: ghc-sha: Update to 1.6.4.4., Ricardo Wurmus, 2018/09/27
- 94/257: gnu: ghc-hashable: Update to 1.2.7.0., Ricardo Wurmus, 2018/09/27
- 91/257: gnu: ghc-edit-distance: Replace "--allow-newer" flag.,
Ricardo Wurmus <=
- 166/257: gnu: ghc-megaparsec: Update to 6.5.0., Ricardo Wurmus, 2018/09/27
- 163/257: gnu: ghc-comonad: Update to 5.0.4., Ricardo Wurmus, 2018/09/27
- 165/257: gnu: ghc-iproute: Update to 1.7.5., Ricardo Wurmus, 2018/09/27
- 159/257: gnu: ghc-x509-store: Update to 1.6.6., Ricardo Wurmus, 2018/09/27
- 89/257: gnu: ghc-cereal: Update to 0.5.7.0., Ricardo Wurmus, 2018/09/27
- 84/257: gnu: ghc-test-framework: Update to 0.8.2.0., Ricardo Wurmus, 2018/09/27
- 81/257: gnu: ghc-language-c: Update to 0.8.1., Ricardo Wurmus, 2018/09/27
- 82/257: gnu: ghc-th-reify-many: Update to 0.1.8., Ricardo Wurmus, 2018/09/27
- 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