haskell.packages.ghc810.haskell-language-server: Remove
This commit is contained in:
parent
acedba9942
commit
00c05bbc65
2 changed files with 4 additions and 35 deletions
|
@ -99,21 +99,7 @@ self: super: {
|
||||||
executableHaskellDepends = drv.executableToolDepends or [] ++ [ self.repline ];
|
executableHaskellDepends = drv.executableToolDepends or [] ++ [ self.repline ];
|
||||||
}) super.hnix);
|
}) super.hnix);
|
||||||
|
|
||||||
haskell-language-server = let
|
haskell-language-server = throw "haskell-language-server dropped support for ghc 8.10 in version 2.3.0.0 please use a newer ghc version or an older nixpkgs version";
|
||||||
# These aren't included in hackage-packages.nix because hackage2nix is configured for GHC 9.2, under which these plugins aren't supported.
|
|
||||||
# See https://github.com/NixOS/nixpkgs/pull/205902 for why we use `self.<package>.scope`
|
|
||||||
additionalDeps = with self.haskell-language-server.scope; [
|
|
||||||
hls-haddock-comments-plugin
|
|
||||||
(unmarkBroken hls-splice-plugin)
|
|
||||||
hls-tactics-plugin
|
|
||||||
];
|
|
||||||
in addBuildDepends additionalDeps (super.haskell-language-server.overrideScope (lself: lsuper: {
|
|
||||||
Cabal = lself.Cabal_3_6_3_0;
|
|
||||||
aeson = lself.aeson_1_5_6_0;
|
|
||||||
lens-aeson = doJailbreak lself.lens-aeson_1_1_3;
|
|
||||||
lsp-types = dontCheck (doJailbreak lsuper.lsp-types); # Checks require aeson >= 2.0
|
|
||||||
hls-overloaded-record-dot-plugin = null;
|
|
||||||
}));
|
|
||||||
|
|
||||||
ghc-lib-parser = doDistribute self.ghc-lib-parser_9_2_8_20230729;
|
ghc-lib-parser = doDistribute self.ghc-lib-parser_9_2_8_20230729;
|
||||||
ghc-lib-parser-ex = doDistribute self.ghc-lib-parser-ex_9_2_1_1;
|
ghc-lib-parser-ex = doDistribute self.ghc-lib-parser-ex_9_2_1_1;
|
||||||
|
@ -122,27 +108,12 @@ self: super: {
|
||||||
mod = super.mod_0_1_2_2;
|
mod = super.mod_0_1_2_2;
|
||||||
path-io = doJailbreak super.path-io;
|
path-io = doJailbreak super.path-io;
|
||||||
|
|
||||||
hls-cabal-plugin = super.hls-cabal-plugin.override {
|
|
||||||
Cabal-syntax = self.Cabal-syntax_3_8_1_0;
|
|
||||||
};
|
|
||||||
|
|
||||||
ormolu = self.ormolu_0_5_0_1;
|
ormolu = self.ormolu_0_5_0_1;
|
||||||
fourmolu = dontCheck self.fourmolu_0_9_0_0;
|
fourmolu = dontCheck self.fourmolu_0_9_0_0;
|
||||||
hlint = self.hlint_3_4_1;
|
hlint = self.hlint_3_4_1;
|
||||||
stylish-haskell = doJailbreak self.stylish-haskell_0_14_3_0;
|
stylish-haskell = doJailbreak self.stylish-haskell_0_14_3_0;
|
||||||
|
|
||||||
hls-tactics-plugin = unmarkBroken (addBuildDepends (with self.hls-tactics-plugin.scope; [
|
|
||||||
aeson extra fingertree generic-lens ghc-exactprint ghc-source-gen ghcide
|
|
||||||
hls-graph hls-plugin-api hls-refactor-plugin hyphenation lens lsp megaparsec
|
|
||||||
parser-combinators prettyprinter refinery retrie syb unagi-chan unordered-containers
|
|
||||||
]) super.hls-tactics-plugin);
|
|
||||||
|
|
||||||
# This package is marked as unbuildable on GHC 9.2, so hackage2nix doesn't include any dependencies.
|
|
||||||
# See https://github.com/NixOS/nixpkgs/pull/205902 for why we use `self.<package>.scope`
|
|
||||||
hls-haddock-comments-plugin = unmarkBroken (addBuildDepends (with self.hls-haddock-comments-plugin.scope; [
|
|
||||||
ghc-exactprint ghcide hls-plugin-api hls-refactor-plugin lsp-types unordered-containers
|
|
||||||
]) super.hls-haddock-comments-plugin);
|
|
||||||
|
|
||||||
mime-string = disableOptimization super.mime-string;
|
mime-string = disableOptimization super.mime-string;
|
||||||
|
|
||||||
# weeder 2.3.* no longer supports GHC 8.10
|
# weeder 2.3.* no longer supports GHC 8.10
|
||||||
|
@ -196,10 +167,6 @@ self: super: {
|
||||||
|
|
||||||
apply-refact = self.apply-refact_0_9_3_0;
|
apply-refact = self.apply-refact_0_9_3_0;
|
||||||
|
|
||||||
hls-hlint-plugin = super.hls-hlint-plugin.override {
|
|
||||||
inherit (self) apply-refact;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Needs OneTuple for ghc < 9.2
|
# Needs OneTuple for ghc < 9.2
|
||||||
binary-orphans = addBuildDepends [ self.OneTuple ] super.binary-orphans;
|
binary-orphans = addBuildDepends [ self.OneTuple ] super.binary-orphans;
|
||||||
|
|
||||||
|
|
|
@ -491,7 +491,9 @@ let
|
||||||
funcmp = released;
|
funcmp = released;
|
||||||
haskell-language-server = lib.subtractLists [
|
haskell-language-server = lib.subtractLists [
|
||||||
# Support ceased as of 1.9.0.0
|
# Support ceased as of 1.9.0.0
|
||||||
compilerNames.ghc884
|
compilerNames.ghc88
|
||||||
|
# Support ceased as of 2.3.0.0
|
||||||
|
compilerNames.ghc810
|
||||||
] released;
|
] released;
|
||||||
hoogle = lib.subtractLists [
|
hoogle = lib.subtractLists [
|
||||||
compilerNames.ghc962
|
compilerNames.ghc962
|
||||||
|
|
Loading…
Reference in a new issue