guix-commits
[Top][All Lists]
Advanced

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

02/08: gnu: ghc-options: Fix Cabal dependency constraints.


From: guix-commits
Subject: 02/08: gnu: ghc-options: Fix Cabal dependency constraints.
Date: Sat, 9 Nov 2019 00:03:12 -0500 (EST)

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

commit 45c85c99fcbcad62dfd5a8773e4e0d99d59b96b9
Author: Timothy Sample <address@hidden>
Date:   Fri Nov 8 21:56:05 2019 -0500

    gnu: ghc-options: Fix Cabal dependency constraints.
    
    * gnu/packages/haskell-xyz.scm (ghc-options): Add a phase that updates
    the Cabal file to allow for newer versions of 'chell'.
---
 gnu/packages/haskell-xyz.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index a8f5cf7..ad7b91b 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -7566,6 +7566,13 @@ DSLs, etc.")
         (base32
          "0qjs0v1ny52w51n5582d4z8wy9h6n0zw1xb5dh686ff5wadflgi8"))))
     (build-system haskell-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'update-constraints
+           (lambda _
+             (substitute* "options.cabal"
+               (("chell >= 0\\.4 && < 0\\.5") "chell >= 0.4 && < 0.6")))))))
     (inputs
      `(("ghc-monads-tf" ,ghc-monads-tf)
        ("ghc-chell" ,ghc-chell)



reply via email to

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