[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/24: gnu: ghc-regex: Fix build.
From: |
Ricardo Wurmus |
Subject: |
02/24: gnu: ghc-regex: Fix build. |
Date: |
Fri, 5 Oct 2018 17:59:47 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 279c97dba8ceecab9d1c7a5c8b5503d1c2e605a3
Author: Ricardo Wurmus <address@hidden>
Date: Tue Oct 2 18:28:50 2018 +0200
gnu: ghc-regex: Fix build.
* gnu/packages/haskell.scm (ghc-regex)[arguments]: Add build phase to relax
version checks.
---
gnu/packages/haskell.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index a140985..c8e4523 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -3003,6 +3003,17 @@ Haskell library @code{regex-base}.")
(base32
"1sjkpkgv4phy5b5v2lr89x4vx4dh44pj0sbvlsp6n86w9v6v4jwb"))))
(build-system haskell-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'relax-dependencies
+ (lambda _
+ (substitute* "regex.cabal"
+ (("base-compat.*>=.*0.6.*")
+ "base-compat >= 0.6\n")
+ (("template-haskell.*>=.*2.7.*")
+ "template-haskell >= 2.7\n"))
+ #t)))))
(inputs
`(("ghc-base-compat" ,ghc-base-compat)
("ghc-hashable" ,ghc-hashable)
- branch master updated (42384b5 -> d71078b), Ricardo Wurmus, 2018/10/05
- 01/24: gnu: ghc-http-conduit: Remove ghc-http-client from native-inputs., Ricardo Wurmus, 2018/10/05
- 02/24: gnu: ghc-regex: Fix build.,
Ricardo Wurmus <=
- 03/24: gnu: Add ghc-cairo., Ricardo Wurmus, 2018/10/05
- 08/24: gnu: Add ghc-stm-conduit., Ricardo Wurmus, 2018/10/05
- 09/24: gnu: Add ghc-bindings-dsl., Ricardo Wurmus, 2018/10/05
- 11/24: gnu: Add ghc-bzlib-conduit., Ricardo Wurmus, 2018/10/05
- 10/24: gnu: Add ghc-lzma-conduit., Ricardo Wurmus, 2018/10/05
- 12/24: gnu: Add ghc-pqueue., Ricardo Wurmus, 2018/10/05
- 13/24: gnu: Add ghc-conduit-algorithms., Ricardo Wurmus, 2018/10/05
- 20/24: gnu: Add ghc-bytestring-lexing., Ricardo Wurmus, 2018/10/05
- 18/24: gnu: Add ghc-safe-exceptions., Ricardo Wurmus, 2018/10/05
- 23/24: gnu: Add ghc-safeio., Ricardo Wurmus, 2018/10/05