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

commit 4a4ee76201520120f728cffe47beee4bbfb77970
Author: Saku Laesvuori <[email protected]>
AuthorDate: Thu Aug 28 20:13:57 2025 +0300

    gnu: ghc-9.4: Fix build for bootstrapping GHC 9.8's Hadrian
    
    The testsuite driver's worker thread pool gets filled with zombie
    processes which causes it to hang and the build to time out. No idea
    what might be causing that, but as 9.4 is only used to build later GHC
    versions it should be enough that they pass their testsuites.
    
    * gnu/packages/haskell.scm
    (ghc-9.4): Downgrade to 9.4.3 for bootstrapping GHC 9.8's hadrian.
    <arguments>[#:tests?]: Set to #f to disable failing testsuite.
    
    Change-Id: I2c889f5fc7a6898562fcb8377fc1f582ad835434
    Signed-off-by: Lars-Dominik Braun <[email protected]>
---
 gnu/packages/haskell.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 9686cd1f71..0fbe8c5530 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1575,21 +1575,23 @@ interactive environment for the functional language 
Haskell.")
     (package
       (inherit base)
       (name "ghc-next")
-      (version "9.4.4")
+      (version "9.4.3")
       (source (origin
                 (method url-fetch)
                 (uri (string-append "https://www.haskell.org/ghc/dist/"; version
                                     "/ghc-" version "-src.tar.xz"))
                 (sha256
                  (base32
-                  "1qk7rlqf02s3b6m6sqqngmjq1mxnrz88h159lz6k25gddmdg5kp8"))
+                  "0nlhx2cbq1jh2yr6zk475lavjkh9sncj57qp77p51pkfad4kkxpa"))
                 (patches (search-patches 
"ghc-9-StgCRunAsm-only-when-needed.patch"))))
       (arguments
        (substitute-keyword-arguments (package-arguments base)
          ((#:phases phases '%standard-phases)
           #~(modify-phases #$phases
              ;; Files don’t exist any more.
-             (delete 'skip-tests)))))
+             (delete 'skip-tests)))
+         ((#:tests? _ #f)
+          #f)))
       (native-inputs
        `(;; GHC 9.4 must be built with GHC >= 9.0.
          ("ghc-bootstrap" ,ghc-bootstrap-for-9.4)
@@ -1601,8 +1603,7 @@ interactive environment for the functional language 
Haskell.")
                     version "/ghc-" version "-testsuite.tar.xz"))
              (sha256
               (base32
-               "04p2lawxxg3nyv6frzhyjyh3arhqqyh5ka3alxa2pxhcd2hdcja3"))
-             (patches (search-patches 
"ghc-testsuite-recomp015-execstack.patch"))))
+               "1xbps33pq6mg2bwp5gvmc4qhgdq52yng5993if99b9s3fylqk86l"))))
          ("ghc-alex" ,ghc-alex-bootstrap-for-9.4)
          ("ghc-happy" ,ghc-happy-bootstrap-for-9.4)
          ,@(filter (match-lambda

Reply via email to