···1470 haskell-language-server = (lib.pipe super.haskell-language-server [
1471 dontCheck
1472 (disableCabalFlag "stan") # Sorry stan is totally unmaintained and terrible to get to run. It only works on ghc 8.8 or 8.10 anyways …
00000001473 ]).overrideScope (lself: lsuper: {
1474 # For most ghc versions, we overrideScope Cabal in the configuration-ghc-???.nix,
1475 # because some packages, like ormolu, need a newer Cabal version.
···1470 haskell-language-server = (lib.pipe super.haskell-language-server [
1471 dontCheck
1472 (disableCabalFlag "stan") # Sorry stan is totally unmaintained and terrible to get to run. It only works on ghc 8.8 or 8.10 anyways …
1473+ # Allow hls-call-hierarchy >= 1.2 which requires only a bound adjustment
1474+ (appendPatch (fetchpatch {
1475+ name = "hls-allow-hls-call-hierarchy-1.2.patch";
1476+ url = "https://github.com/haskell/haskell-language-server/commit/05b248dfacc307c3397b334635cb38298aee9563.patch";
1477+ includes = [ "haskell-language-server.cabal" ];
1478+ sha256 = "1v0zi1lv92p6xq54yw9swzaf24dxsi9lpk10sngg3ka654ikm7j5";
1479+ }))
1480 ]).overrideScope (lself: lsuper: {
1481 # For most ghc versions, we overrideScope Cabal in the configuration-ghc-???.nix,
1482 # because some packages, like ormolu, need a newer Cabal version.