guix-commits
[Top][All Lists]
Advanced

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

294/328: gnu: ghc-options: Fix Cabal dependency constraints.


From: guix-commits
Subject: 294/328: gnu: ghc-options: Fix Cabal dependency constraints.
Date: Sat, 16 Nov 2019 19:33:28 -0500 (EST)

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

commit 7353ea43e68408e88520c8ab18e1dd472ed220a7
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 | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 052162b..4b09229 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -7570,6 +7570,14 @@ 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"))
+             #t)))))
     (inputs
      `(("ghc-monads-tf" ,ghc-monads-tf)
        ("ghc-chell" ,ghc-chell)



reply via email to

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