GNU bug report logs - #32909
[PATCH 02/24] gnu: ghc-regex: Fix build.

Previous Next

Package: guix-patches;

Reported by: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>

Date: Tue, 2 Oct 2018 16:30:02 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
Subject: bug#32909: closed (submitted by accident)
Date: Tue, 02 Oct 2018 16:38:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#32909: [PATCH 02/24] gnu: ghc-regex: Fix build.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 32909 <at> debbugs.gnu.org.

-- 
32909: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32909
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
To: <32909-done <at> debbugs.gnu.org>, <32910-done <at> debbugs.gnu.org>,
 <32911-done <at> debbugs.gnu.org>, <32912-done <at> debbugs.gnu.org>,
 <32913-done <at> debbugs.gnu.org>
Subject: submitted by accident
Date: Tue, 2 Oct 2018 18:37:39 +0200
Sorry.

[Message part 3 (message/rfc822, inline)]
From: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
To: <32908 <at> debbugs.gnu.org>, <guix-patches <at> gnu.org>
Cc: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
Subject: [PATCH 02/24] gnu: ghc-regex: Fix build.
Date: Tue, 2 Oct 2018 18:28:50 +0200
* 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 a140985eb..c8e4523eb 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)
-- 
2.19.0




This bug report was last modified 6 years and 317 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.