From f3b8a35ca461a439d2127bfdf695f878d8e960ef Mon Sep 17 00:00:00 2001 From: Saku Laesvuori Date: Sat, 18 Oct 2025 14:55:11 +0300 Subject: [PATCH] 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 --- 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 ed507d34150..37479b986d4 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