haskellPackages.reanimate: unbreak

see https://github.com/reanimate/reanimate/pull/317 for more details
This commit is contained in:
Ai-Ya-Ya
2026-01-06 17:58:24 +00:00
committed by Wolfgang Walther
parent eb0717565c
commit d4f018a21e
2 changed files with 27 additions and 0 deletions
@@ -2566,6 +2566,24 @@ with haskellLib;
];
}) super.reanimate-svg;
# 2026-01-06: modernize to GHC 9.10.3
reanimate = overrideCabal (drv: {
# file in Hackage but not on github, need to remove here
# test relies on hegometry but that was removed as a dependency
# https://github.com/reanimate/reanimate/commit/f58a00e
prePatch = drv.prePatch or "" + ''
rm -f examples/decompose.hs
'';
patches = (drv.patches or [ ]) ++ [
# variant of PR https://github.com/reanimate/reanimate/pull/317
(pkgs.fetchpatch2 {
name = "modernize-to-ghc-9.10.3";
url = "https://github.com/reanimate/reanimate/commit/273f48c2b82dcfa027481133a6a606e73a22461b.patch";
sha256 = "sha256-aibbIoc54I4Ibg6t2o8vykL8MqzmxLvayUNa8MiibEw=";
})
];
}) super.reanimate;
# Test data missing from sdist
# https://github.com/ngless-toolkit/ngless/issues/152
NGLess = dontCheck super.NGLess;
@@ -932,6 +932,15 @@ builtins.intersectAttrs super {
# https://github.com/plow-technologies/servant-streaming/issues/12
servant-streaming-server = dontCheck super.servant-streaming-server;
reanimate = overrideCabal (drv: {
buildTools = (drv.buildTools or [ ]) ++ [
# needed for testsuite
pkgs.ffmpeg
pkgs.librsvg
pkgs.texliveFull
];
}) super.reanimate;
reanimate-svg = overrideCabal (drv: {
buildTools = (drv.buildTools or [ ]) ++ [
# needed for testsuite