guix-commits
[Top][All Lists]
Advanced

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

101/290: gnu: ghc-bytestring-handle: Fix Cabal dependency constraints.


From: guix-commits
Subject: 101/290: gnu: ghc-bytestring-handle: Fix Cabal dependency constraints.
Date: Wed, 6 Nov 2019 08:22:38 -0500 (EST)

samplet pushed a commit to branch wip-haskell-updates
in repository guix.

commit fe2239d289310a95a6f6536fec1bebb1f1de4727
Author: Timothy Sample <address@hidden>
Date:   Sun Nov 3 11:21:00 2019 -0500

    gnu: ghc-bytestring-handle: Fix Cabal dependency constraints.
    
    Rather than patch the 'base' constraints, we update the Cabal file to r1
    so that it accepts 'base' from GHC 8.6.
    
    * gnu/packages/haskell-xyz.scm (ghc-bytestring-handle): Update the Cabal
    file to r1; remove 'base' constraint fix; and update the 'QuickCheck'
    constraint to allow version 2.13.
---
 gnu/packages/haskell-xyz.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index efd7b02..b792173 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -1045,15 +1045,15 @@ Compatibility package for older packages.")
          "18f17aja1ivhr3zyg2cccn2m03hdn5jf5410dndkhf12gvgiqs7y"))))
     (build-system haskell-build-system)
     (arguments
-     `(#:phases
+     `(#:cabal-revision
+       ("1" "0x11aj6w1lijh84jcdq1qgyvdnc7i9ivbyq4wf9rxicg57viisz9")
+       #: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")))))))
+                "QuickCheck >= 2.1.2 && < 2.14")))))))
     (inputs
      `(("ghc-hunit" ,ghc-hunit)
        ("ghc-quickcheck" ,ghc-quickcheck)



reply via email to

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