From 89bca40b71fc8e531976814daf427cfe89154b18 Mon Sep 17 00:00:00 2001 From: Ai-Ya-Ya Date: Tue, 6 Jan 2026 16:05:29 +0000 Subject: [PATCH 1/6] haskellPackages.geojson: enable tests This issue has been resolved upstream. --- pkgs/development/haskell-modules/configuration-common.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 01adce84a872..c487be42f071 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2519,10 +2519,6 @@ with haskellLib; doJailbreak ]; - # Test suite doesn't support hspec 2.8 - # https://github.com/zellige/hs-geojson/issues/29 - geojson = dontCheck super.geojson; - # Test data missing from sdist # https://github.com/ngless-toolkit/ngless/issues/152 NGLess = dontCheck super.NGLess; From eb0717565cf096353a978b511eae04e1f2237727 Mon Sep 17 00:00:00 2001 From: Ai-Ya-Ya Date: Tue, 6 Jan 2026 16:20:26 +0000 Subject: [PATCH 2/6] haskellPackages.reanimate-svg: unbreak see https://github.com/reanimate/reanimate-svg/pull/48 for more details --- .../haskell-modules/configuration-common.nix | 47 +++++++++++++++++++ .../configuration-hackage2nix/broken.yaml | 1 - .../transitive-broken.yaml | 2 - .../haskell-modules/configuration-nix.nix | 9 ++++ .../haskell-modules/hackage-packages.nix | 4 -- 5 files changed, 56 insertions(+), 7 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index c487be42f071..f31006a543f8 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2519,6 +2519,53 @@ with haskellLib; doJailbreak ]; + # 2026-01-06: unbreak and modernize to GHC 9.10.3 + reanimate-svg = overrideCabal (drv: { + # patching doesn't actually move files, need to do manually + prePatch = '' + # Move tests marked good due to previous librsvg failures + for f in \ + animate-elem-32-t.svg \ + fonts-desc-02-t.svg \ + shapes-ellipse-02-t.svg \ + shapes-intro-01-t.svg \ + styling-css-06-b.svg \ + text-intro-05-t.svg \ + ; do + mv test/good/$f test/bad/$f + done + + # Move tests previously marked bad but now fixed from new changes + for f in \ + filters-displace-02-f.svg \ + filters-gauss-01-b.svg \ + masking-mask-01-b.svg \ + painting-render-01-b.svg \ + pservers-grad-04-b.svg \ + pservers-grad-05-b.svg \ + pservers-grad-07-b.svg \ + pservers-grad-08-b.svg \ + pservers-grad-09-b.svg \ + pservers-grad-10-b.svg \ + pservers-grad-11-b.svg \ + pservers-grad-12-b.svg \ + pservers-grad-14-b.svg \ + pservers-grad-15-b.svg \ + pservers-grad-16-b.svg \ + pservers-grad-22-b.svg \ + ; do + mv test/bad/$f test/good/$f + done + ''; + patches = (drv.patches or [ ]) ++ [ + (pkgs.fetchpatch2 { + name = "modernize-to-ghc-9.10.3-and-regress-tests-wrt-librsvg"; + url = "https://github.com/reanimate/reanimate-svg/commit/3f2fab8eb08b7f35b03f5fa17819e43e3879ea80.patch"; + sha256 = "sha256-Em10QyAAiIwHId3CZuByKJ4Fv9W6MII4go5rychg07Y="; + }) + ]; + }) super.reanimate-svg; + # Test data missing from sdist # https://github.com/ngless-toolkit/ngless/issues/152 NGLess = dontCheck super.NGLess; diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml index a2d80067cf0d..9ac9f1a7a1c3 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml @@ -5274,7 +5274,6 @@ broken-packages: - readme-lhs # failure in job https://hydra.nixos.org/build/233248229 at 2023-09-02 - readshp # failure in job https://hydra.nixos.org/build/233197835 at 2023-09-02 - really-simple-xml-parser # failure in job https://hydra.nixos.org/build/233195945 at 2023-09-02 - - reanimate-svg # failure in job https://hydra.nixos.org/build/233242271 at 2023-09-02 - reason-export # failure in job https://hydra.nixos.org/build/233212942 at 2023-09-02 - reasonable-lens # failure in job https://hydra.nixos.org/build/233233111 at 2023-09-02 - rebound # failure in job https://hydra.nixos.org/build/311055152 at 2025-11-02 diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml index 067e27c54e79..d699e541caf3 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml @@ -2874,7 +2874,6 @@ dont-distribute-packages: - reactor - readline-in-other-words - readpyc - - reanimate - record-aeson - record-gl - record-preprocessor @@ -3383,7 +3382,6 @@ dont-distribute-packages: - sv-svfactor - SVG2Q - svg2q - - svgone - swapper - switch - syb-with-class-instances-text diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 8c440508d42a..06463f06bff8 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -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-svg = overrideCabal (drv: { + buildTools = (drv.buildTools or [ ]) ++ [ + # needed for testsuite + pkgs.freefont_ttf + pkgs.librsvg + pkgs.pango + ]; + }) super.reanimate-svg; + # https://github.com/haskell-servant/servant/pull/1238 servant-client-core = if (pkgs.lib.getVersion super.servant-client-core) == "0.16" then diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 1beae3013ab3..19b994b5e9c1 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -577709,7 +577709,6 @@ self: { ]; description = "Animation library based on SVGs"; license = lib.licenses.publicDomain; - hydraPlatforms = lib.platforms.none; } ) { }; @@ -577790,8 +577789,6 @@ self: { ]; description = "SVG file loader and serializer"; license = lib.licensesSpdx."BSD-3-Clause"; - hydraPlatforms = lib.platforms.none; - broken = true; } ) { }; @@ -673016,7 +673013,6 @@ self: { ]; description = "Optimise SVGs"; license = lib.licensesSpdx."BSD-3-Clause"; - hydraPlatforms = lib.platforms.none; mainProgram = "svgone"; } ) { }; From d4f018a21efec4509febbdb5b00e67f02341a31b Mon Sep 17 00:00:00 2001 From: Ai-Ya-Ya Date: Tue, 6 Jan 2026 17:58:24 +0000 Subject: [PATCH 3/6] haskellPackages.reanimate: unbreak see https://github.com/reanimate/reanimate/pull/317 for more details --- .../haskell-modules/configuration-common.nix | 18 ++++++++++++++++++ .../haskell-modules/configuration-nix.nix | 9 +++++++++ 2 files changed, 27 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index f31006a543f8..f7d4168f56bc 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -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; diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 06463f06bff8..d35cb985c947 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -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 From 9ddef6a598613121516b940325092b02ac45de3c Mon Sep 17 00:00:00 2001 From: Ai-Ya-Ya Date: Tue, 27 Jan 2026 13:18:12 +0000 Subject: [PATCH 4/6] haskellPackages.svgone: jailbreak https://github.com/georgefst/svgone/pull/3 --- pkgs/development/haskell-modules/configuration-common.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index f7d4168f56bc..56e039e8176b 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2519,6 +2519,10 @@ with haskellLib; doJailbreak ]; + # too strict bounds on extra < 1.8 + # https://github.com/georgefst/svgone/pull/3 + svgone = doJailbreak super.svgone; + # 2026-01-06: unbreak and modernize to GHC 9.10.3 reanimate-svg = overrideCabal (drv: { # patching doesn't actually move files, need to do manually From 6a3e5410eb4ec9396eb2b9ce4b69ef5107dfe9f5 Mon Sep 17 00:00:00 2001 From: Ai-Ya-Ya Date: Thu, 26 Feb 2026 20:41:02 +0000 Subject: [PATCH 5/6] maintainers: add Ai-Ya-Ya --- maintainers/maintainer-list.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 79912e3c2ab9..06c3f80417e2 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -843,6 +843,13 @@ githubId = 209175; name = "Alesya Huzik"; }; + Ai-Ya-Ya = { + email = "spg2500@gmail.com"; + github = "Ai-Ya-Ya"; + githubId = 72513839; + matrix = "aiya:catgirl.cloud"; + name = "aiya"; + }; aij = { email = "aij+git@mrph.org"; github = "aij"; From 4b7174296d5929928e666f05a4b25bcd3b6fd37b Mon Sep 17 00:00:00 2001 From: Ai-Ya-Ya Date: Mon, 30 Mar 2026 11:48:02 +0200 Subject: [PATCH 6/6] haskellPackages.reanimate{,-svg}: add Ai-Ya-Ya as maintainer --- .../haskell-modules/configuration-hackage2nix/main.yaml | 3 +++ pkgs/development/haskell-modules/hackage-packages.nix | 2 ++ 2 files changed, 5 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml index 7aa716d6ce31..dbe9d2a8223a 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml @@ -127,6 +127,9 @@ extra-packages: # keep-sorted start skip_lines=1 case=no package-maintainers: + Ai-Ya-Ya: + - reanimate + - reanimate-svg alexfmpe: - basic-sop - commutative-semigroups diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 19b994b5e9c1..dc64bf115c4b 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -577709,6 +577709,7 @@ self: { ]; description = "Animation library based on SVGs"; license = lib.licenses.publicDomain; + maintainers = [ lib.maintainers.Ai-Ya-Ya ]; } ) { }; @@ -577789,6 +577790,7 @@ self: { ]; description = "SVG file loader and serializer"; license = lib.licensesSpdx."BSD-3-Clause"; + maintainers = [ lib.maintainers.Ai-Ya-Ya ]; } ) { };