haskellPackages.hls-call-hierarchy-plugin: Add assert to reenable on upstream fix

This commit is contained in:
maralorn 2022-12-30 23:50:02 +01:00
parent 7bc38b9128
commit 5bbfefc294

View file

@ -1361,7 +1361,7 @@ self: super: {
haskell-language-server = (lib.pipe super.haskell-language-server [
dontCheck
(disableCabalFlag "stan") # Sorry stan is totally unmaintained and terrible to get to run. It only works on ghc 8.8 or 8.10 anyways …
(disableCabalFlag "callHierarchy") # Disabled temporarily: https://github.com/haskell/haskell-language-server/pull/3431
(assert super.hls-call-hierarchy-plugin.version == "1.1.0.0"; disableCabalFlag "callHierarchy") # Disabled temporarily: https://github.com/haskell/haskell-language-server/pull/3431
]).overrideScope (lself: lsuper: {
hls-call-hierarchy-plugin = null;
# For most ghc versions, we overrideScope Cabal in the configuration-ghc-???.nix,