guix_mirror_bot pushed a commit to branch haskell-team
in repository guix.

commit d8ed76e6ea3b03722237cf56e59597a8c73b4d45
Author: Saku Laesvuori <[email protected]>
AuthorDate: Tue Oct 21 20:02:01 2025 +0300

    gnu: ghc-template-haskell: Fix build
    
    * gnu/packages/haskell-xyz.scm (ghc-template-haskell)[arguments]: Relax
    dependency version constraints on ghc-boot-th.
    
    Change-Id: I2ce7fdf31d9206745ac53a6de595cadd5b56cc95
    Signed-off-by: Andreas Enge <[email protected]>
---
 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 c58f1c122a..85037b7bd8 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -15760,6 +15760,14 @@ platform independent way.")
        (sha256
         (base32 "0cn9n5jyzn9h1ab76rr2cyxaysh2rk7ywcj92lxsf49fah4vx35g"))))
     (build-system haskell-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'configure 'relax-dependencies
+            (lambda _
+              (substitute* "template-haskell.cabal"
+                (("ghc-boot-th [0-9 &|<>=*^.]*") "ghc-boot-th")))))))
     (properties '((upstream-name . "template-haskell")))
     (home-page "http://hackage.haskell.org/package/template-haskell";)
     (synopsis "Support library for Template Haskell")

Reply via email to