guix-commits
[Top][All Lists]
Advanced

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

290/290: gnu: darcs: Fix Cabal dependency constraints.


From: guix-commits
Subject: 290/290: gnu: darcs: Fix Cabal dependency constraints.
Date: Wed, 6 Nov 2019 08:23:30 -0500 (EST)

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

commit 1f689c28f5ea14b9c0c9d7789fa560ea7e459cc0
Author: Timothy Sample <address@hidden>
Date:   Sun Nov 3 21:11:12 2019 -0500

    gnu: darcs: Fix Cabal dependency constraints.
    
    * gnu/packages/haskell-apps.scm (darcs): Update the Cabal file to r1 and
    change the phase that updates the Cabal file to allow for newer versions
    of 'QuickCheck'.
---
 gnu/packages/haskell-apps.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm
index 14ee08c..981ca2f 100644
--- a/gnu/packages/haskell-apps.scm
+++ b/gnu/packages/haskell-apps.scm
@@ -187,7 +187,9 @@ unlit literate code files; and an option to turn off 
macro-expansion.")
            #t))))
     (build-system haskell-build-system)
     (arguments
-     `(#:configure-flags '("-fpkgconfig" "-fcurl" "-flibiconv" "-fthreaded"
+     `(#:cabal-revision
+       ("1" "0xl7j5cm704pbl2ms0dkydh7jvrz0ym76d725ifpg4h902m1zkhg")
+       #:configure-flags '("-fpkgconfig" "-fcurl" "-flibiconv" "-fthreaded"
                            "-fnetwork-uri" "-fhttp" "--flag=executable"
                            "--flag=library")
        #:phases
@@ -196,7 +198,12 @@ unlit literate code files; and an option to turn off 
macro-expansion.")
            (lambda _
              (substitute* "tests/issue538.sh"
                (("/bin/sh") (which "sh")))
-             #t)))))
+             #t))
+         (add-before 'configure 'update-constraints
+           (lambda _
+             (substitute* "darcs.cabal"
+               (("QuickCheck   >= 2\\.8\\.2 && < 2\\.13,")
+                "QuickCheck   >= 2.8.2 && < 2.14,")))))))
     (inputs
      `(("ghc-cmdargs" ,ghc-cmdargs)
        ("ghc-split" ,ghc-split)



reply via email to

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