about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
diff options
context:
space:
mode:
authorRodney Lorrimar <dev@rodney.id.au>2023-07-26 13:42:10 +0800
committersternenseemann <sternenseemann@systemli.org>2023-07-26 15:15:21 +0200
commit83a24f92e8cf4a8001e105c5472414c0e56a217c (patch)
treedb06e160254d3aed5d4fdf1cd3d3a3d90cac153a /pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
parent2635c9eb1d639bfd4fad7d838e713da5d00b0cde (diff)
downloadnixlib-83a24f92e8cf4a8001e105c5472414c0e56a217c.tar
nixlib-83a24f92e8cf4a8001e105c5472414c0e56a217c.tar.gz
nixlib-83a24f92e8cf4a8001e105c5472414c0e56a217c.tar.bz2
nixlib-83a24f92e8cf4a8001e105c5472414c0e56a217c.tar.lz
nixlib-83a24f92e8cf4a8001e105c5472414c0e56a217c.tar.xz
nixlib-83a24f92e8cf4a8001e105c5472414c0e56a217c.tar.zst
nixlib-83a24f92e8cf4a8001e105c5472414c0e56a217c.zip
haskell.packages.ghc96.xmonad-contrib: patch for mtl-2.3
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.nix10
1 files changed, 9 insertions, 1 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 e816ae1e7a27..70fd5522dded 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
@@ -144,6 +144,15 @@ self: super: {
     })
     (doJailbreak super.monad-par);
 
+  # Patch 0.17.1 for support of mtl-2.3
+  xmonad-contrib = appendPatch
+    (pkgs.fetchpatch {
+      name = "xmonad-contrib-mtl-2.3.patch";
+      url = "https://github.com/xmonad/xmonad-contrib/commit/8cb789af39e93edb07f1eee39c87908e0d7c5ee5.patch";
+      sha256 = "sha256-ehCvVy0N2Udii/0K79dsRSBP7/i84yMoeyupvO8WQz4=";
+    })
+    (doJailbreak super.xmonad-contrib);
+
   # 2023-04-03: plugins disabled for hls 1.10.0.0 based on
   #
   haskell-language-server =
@@ -212,7 +221,6 @@ self: super: {
     implicit-hie-cradle
     focus
     hie-compat
-    xmonad-contrib              # mtl >=1 && <2.3
     dbus       # template-haskell >=2.18 && <2.20, transformers <0.6, unix <2.8
     gi-cairo-connector          # mtl <2.3
     haskintex                   # text <2