1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-06-30 13:04:07 +02:00

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 <andreas@enge.fr>
This commit is contained in:
Saku Laesvuori
2025-10-18 14:55:11 +03:00
committed by Andreas Enge
parent 176003265d
commit f3b8a35ca4
+6 -2
View File
@@ -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