haskellPackages.ghcide: apply patch for GHC 9.8.3 compat

This commit is contained in:
sternenseemann
2024-11-09 15:54:46 +01:00
parent 0984a89fe2
commit d76940773a
@@ -122,7 +122,13 @@ self: super: {
];
hls-plugin-api = doJailbreak super.hls-plugin-api;
ghcide = doJailbreak super.ghcide;
ghcide = doJailbreak (appendPatch (pkgs.fetchpatch {
name = "ghcide-ghc-9.8.3.patch";
url = "https://github.com/haskell/haskell-language-server/commit/6d0a6f220226fe6c1cb5b6533177deb55e755b0b.patch";
sha256 = "1jwxldar9qzkg2z6vsx8f2yih3vkf4yjk9p3mryv0azn929qn3h1";
stripLen = 1;
excludes = [ "cabal.project" ];
}) super.ghcide);
# For -f-auto see cabal.project in haskell-language-server.
ghc-lib-parser-ex = addBuildDepend self.ghc-lib-parser (disableCabalFlag "auto" super.ghc-lib-parser-ex);