guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

88/272: gnu: ghc-bytestring-handle: Allow newer base and QuickCheck.


From: Ricardo Wurmus
Subject: 88/272: gnu: ghc-bytestring-handle: Allow newer base and QuickCheck.
Date: Mon, 1 Oct 2018 06:13:20 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 5e4058ad85416bc256bc414df4985bbfd4e5eeac
Author: Timothy Sample <address@hidden>
Date:   Mon Sep 3 21:19:12 2018 -0400

    gnu: ghc-bytestring-handle: Allow newer base and QuickCheck.
    
    * gnu/packages/haskell.scm (ghc-bytestring-handle)[arguments]: Add a phase
    that patches the Cabal file to allow newer versions of base and QuickCheck.
---
 gnu/packages/haskell.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 1b66d88..d8cd4cb 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -7008,6 +7008,16 @@ this problem.")
         (base32
          "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y"))))
     (build-system haskell-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'update-constraints
+           (lambda _
+             (substitute* "bytestring-handle.cabal"
+               (("QuickCheck >= 2\\.1\\.2 && < 2\\.11")
+                "QuickCheck >= 2.1.2 && < 2.12")
+               (("base >= 4\\.2 && < 4\\.11")
+                "base >= 4.2 && < 4.12")))))))
     (inputs
      `(("ghc-hunit" ,ghc-hunit)
        ("ghc-quickcheck" ,ghc-quickcheck)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]