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

commit d45514f99b31ec135aaa3ef51e79714c0f83dc2b
Author: Saku Laesvuori <[email protected]>
AuthorDate: Wed Jan 7 17:33:38 2026 +0200

    gnu: ghc-wave: Fix build
    
    * gnu/packages/haskell-xyz.scm
    (ghc-wave)[native-inputs]: Add hspec-discover.
    [phases]: Add a phase to relax dependency versions.
    
    Change-Id: I8d29bc716fa4ad97ff01a490ed1122ab226f89c0
    Signed-off-by: Andreas Enge <[email protected]>
---
 gnu/packages/haskell-xyz.scm | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 7d8e541042..3c7f4b3af5 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -14652,10 +14652,17 @@ file.")
     (build-system haskell-build-system)
     (properties '((upstream-name . "wave")))
     (inputs (list ghc-cereal))
-    (native-inputs (list ghc-quickcheck ghc-hspec ghc-temporary))
+    (native-inputs (list ghc-quickcheck ghc-hspec ghc-hspec-discover 
ghc-temporary))
     (arguments
-     `(#:cabal-revision ("1"
-                         
"1j6ycd1v6c5khkmybzss2vbfm93n28dh1ah8sipqqpd94yqwvdiz")))
+     (list
+      #:cabal-revision '("1"
+                         
"1j6ycd1v6c5khkmybzss2vbfm93n28dh1ah8sipqqpd94yqwvdiz")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'configure 'relax-dependencies
+            (lambda _
+              (substitute* "wave.cabal"
+                (("bytestring [<=>.0-9 &|]*") "bytestring < 0.13")))))))
     (home-page "https://github.com/mrkkrp/wave";)
     (synopsis "Work with WAVE and RF64 files in Haskell")
     (description "This package allows you to work with WAVE and RF64

Reply via email to