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

commit a162047f3a35d95b2851be63676281ebe4bc6d6e
Author: Saku Laesvuori <[email protected]>
AuthorDate: Sat Oct 18 14:55:11 2025 +0300

    gnu: ghc-sdl2: Fix build
    
    * gnu/packages/haskell-xyz.scm (ghc-sdl2)[inputs]: Add sdl2.
    [arguments]: Disable tests which fail due to wrong performance scaling.
    [native-inputs]: Add pkg-config.
    
    Change-Id: I607495260394d544a8c911691b3902669d971c76
    Signed-off-by: Andreas Enge <[email protected]>
---
 gnu/packages/haskell-xyz.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index ed507d3415..37479b986d 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -11100,8 +11100,12 @@ award winning Linux port of \"Civilization: Call To 
Power.\"")
         (base32 "1k60zwqr0kgalw3lyqy6vs9bg8bg40cp64snx8n6rh99050y5cr5"))))
     (build-system haskell-build-system)
     (properties '((upstream-name . "sdl2")))
-    (inputs (list ghc-statevar ghc-vector ghc-linear))
-    (native-inputs (list ghc-weigh))
+    ; the tests fail due to wrong performance scaling. The issue is reported
+    ; upstream but no solution seems to exist at the moment
+    ; https://github.com/haskell-game/sdl2/issues/298
+    (arguments (list #:tests? #f))
+    (inputs (list ghc-statevar ghc-vector ghc-linear sdl2))
+    (native-inputs (list ghc-weigh pkg-config))
     (home-page "http://hackage.haskell.org/package/sdl2";)
     (synopsis "High- and low-level bindings to the SDL library")
     (description

Reply via email to