From 34a0be6bb39a973f47cb95ad6477fa761fec02cb Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Mon, 21 Sep 2026 18:18:45 +0100 Subject: [PATCH] haskellPackages.polysemy-plugin: apply patch to support doctest 0.25 --- .../development/haskell-modules/configuration-common.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 19449a754dda..668008cc73c0 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2685,6 +2685,15 @@ with haskellLib; includes = [ "polysemy.cabal" ]; }) super.polysemy; + # https://github.com/polysemy-research/polysemy/pull/495 + polysemy-plugin = appendPatch (fetchpatch { + name = "support-doctest-0.25.patch"; + url = "https://github.com/polysemy-research/polysemy/commit/c2c17a41f8284bb8fdf71b240a75f23af426e661.patch"; + hash = "sha256-RSVfEUr6LyciT+T00ARff/3hND3neDhkGtYURHzRBzM"; + includes = [ "polysemy-plugin.cabal" ]; + relative = "polysemy-plugin"; + }) super.polysemy-plugin; + html-charset = dontCheck super.html-charset; # bytestring <0.11.0, optparse-applicative <0.13.0