diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index b2d443c18873..c8b67d51fa78 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2684,6 +2684,23 @@ with haskellLib; # https://github.com/fused-effects/fused-effects/issues/473 fused-effects = doJailbreak super.fused-effects; + # https://github.com/polysemy-research/polysemy/pull/495 + polysemy = appendPatch (fetchpatch { + name = "support-doctest-0.25.patch"; + url = "https://github.com/polysemy-research/polysemy/commit/26235c0bf8bae18de44901836b9412d7c2c9603e.patch"; + hash = "sha256-RZh+jJWB7uYL2jmCErcPZ3uT3Wm4wpeLnzmkopLDEAQ"; + 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