diff options
author | sternenseemann <sternenseemann@systemli.org> | 2023-07-03 12:31:30 +0200 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2023-07-03 12:31:30 +0200 |
commit | cc025c684dd431fad3cf93bf2c83d94e963722be (patch) | |
tree | 00ffc9d481f89f7cf9f29247970b2c137daad73b /pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix | |
parent | eda8d2938155ab0734852a7dd31e35af7f4a7acd (diff) | |
download | nixlib-cc025c684dd431fad3cf93bf2c83d94e963722be.tar nixlib-cc025c684dd431fad3cf93bf2c83d94e963722be.tar.gz nixlib-cc025c684dd431fad3cf93bf2c83d94e963722be.tar.bz2 nixlib-cc025c684dd431fad3cf93bf2c83d94e963722be.tar.lz nixlib-cc025c684dd431fad3cf93bf2c83d94e963722be.tar.xz nixlib-cc025c684dd431fad3cf93bf2c83d94e963722be.tar.zst nixlib-cc025c684dd431fad3cf93bf2c83d94e963722be.zip |
haskell.packages.ghc96.monad-par: patch for mtl >= 2.3
This allows us building cabal2nix with GHC 9.6 which we can now test on Hydra.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix index fc549721129a..916d0c390a4e 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix @@ -127,6 +127,16 @@ self: super: { sha256 = "0w4y3v69nd3yafpml4gr23l94bdhbmx8xky48a59lckmz5x9fgxv"; }) (doJailbreak super.language-haskell-extract); + # Patch for support of mtl-2.3 + monad-par = appendPatches [ + (pkgs.fetchpatch { + name = "monad-par-mtl-2.3.patch"; + url = "https://github.com/simonmar/monad-par/pull/75/commits/ce53f6c1f8246224bfe0223f4aa3d077b7b6cc6c.patch"; + sha256 = "1jxkl3b3lkjhk83f5q220nmjxbkmni0jswivdw4wfbzp571djrlx"; + stripLen = 1; + }) + ] (doJailbreak super.monad-par); + # 2023-04-03: plugins disabled for hls 1.10.0.0 based on # haskell-language-server = |