[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
91/272: gnu: ghc-edit-distance: Replace "--allow-newer" flag.
From: |
Ricardo Wurmus |
Subject: |
91/272: gnu: ghc-edit-distance: Replace "--allow-newer" flag. |
Date: |
Mon, 1 Oct 2018 06:13:21 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit d340ee858f82c9e34da87deb2a62d27b22415959
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)
- 241/272: gnu: Add ghc-rio., (continued)
- 241/272: gnu: Add ghc-rio., Ricardo Wurmus, 2018/10/01
- 217/272: gnu: ghc-wai-extra: Update to 3.0.24.2., Ricardo Wurmus, 2018/10/01
- 222/272: gnu: ghc-monad-logger: Update to 0.3.29., Ricardo Wurmus, 2018/10/01
- 209/272: gnu: ghc-fsnotify: Update to 0.3.0.1., Ricardo Wurmus, 2018/10/01
- 251/272: gnu: ghc-yesod-form: Update to 1.6.2., Ricardo Wurmus, 2018/10/01
- 246/272: gnu: ghc-esqueleto: Update to commit b81e0d9., Ricardo Wurmus, 2018/10/01
- 249/272: gnu: ghc-haddock-api: Update to 2.19.0.1., Ricardo Wurmus, 2018/10/01
- 267/272: gnu: ghc-xmonad-contrib: Fix build., Ricardo Wurmus, 2018/10/01
- 255/272: gnu: Remove address@hidden, Ricardo Wurmus, 2018/10/01
- 68/272: gnu: ghc-hs-bibutils: Update to 6.6.0.0., Ricardo Wurmus, 2018/10/01
- 91/272: gnu: ghc-edit-distance: Replace "--allow-newer" flag.,
Ricardo Wurmus <=
- 190/272: gnu: ghc-doctemplates: Update to 0.2.2.1., Ricardo Wurmus, 2018/10/01
- 203/272: gnu: Add ghc-invariant., Ricardo Wurmus, 2018/10/01
- 200/272: gnu: raincat: Update to 1.2., Ricardo Wurmus, 2018/10/01
- 196/272: gnu: ghc-semigroupoids: Update to 5.2.2., Ricardo Wurmus, 2018/10/01
- 220/272: gnu: ghc-wai-conduit: Update to 3.0.0.4., Ricardo Wurmus, 2018/10/01
- 210/272: gnu: ghc-tasty-rerun: Update to 1.1.12., Ricardo Wurmus, 2018/10/01
- 216/272: gnu: Add ghc-rerebase., Ricardo Wurmus, 2018/10/01
- 227/272: ghc: Add ghc-ed25519., Ricardo Wurmus, 2018/10/01
- 232/272: gnu: ghc-lens: Update to 4.16.1., Ricardo Wurmus, 2018/10/01
- 261/272: gnu: Add ghc-sdl2-mixer., Ricardo Wurmus, 2018/10/01