haskell.packages.ghc92.haskell-language-server: remove at 2.10.0.0 (#398916)
This commit is contained in:
commit
fa954c9e73
@ -74,20 +74,7 @@ self: super: {
|
||||
}
|
||||
);
|
||||
|
||||
haskell-language-server = lib.pipe super.haskell-language-server [
|
||||
(disableCabalFlag "fourmolu")
|
||||
(disableCabalFlag "ormolu")
|
||||
(disableCabalFlag "cabal")
|
||||
(disableCabalFlag "stylishHaskell")
|
||||
(
|
||||
d:
|
||||
d.override {
|
||||
ormolu = null;
|
||||
fourmolu = null;
|
||||
stan = null;
|
||||
}
|
||||
)
|
||||
];
|
||||
haskell-language-server = throw "haskell-language-server has dropped support for ghc 9.2 in version 2.10.0.0, please use a newer ghc version or an older nixpkgs version";
|
||||
|
||||
# For GHC < 9.4, some packages need data-array-byte as an extra dependency
|
||||
hashable = addBuildDepends [ self.data-array-byte ] super.hashable;
|
||||
@ -110,8 +97,8 @@ self: super: {
|
||||
# Needs to match ghc version
|
||||
ghc-tags = doDistribute self.ghc-tags_1_5;
|
||||
|
||||
# For "ghc-lib" flag see https://github.com/haskell/haskell-language-server/issues/3185#issuecomment-1250264515
|
||||
hlint = enableCabalFlag "ghc-lib" super.hlint;
|
||||
# Needs to match ghc-lib
|
||||
hlint = doDistribute self.hlint_3_6_1;
|
||||
|
||||
# ghc-lib >= 9.8 and friends no longer build with GHC 9.2 since they require semaphore-compat
|
||||
ghc-lib-parser = doDistribute (
|
||||
|
||||
@ -52,7 +52,6 @@ extra-packages:
|
||||
- ansi-terminal-types == 0.11.5 # 2025-02-27: required for ghcjs
|
||||
- ansi-wl-pprint >= 0.6 && < 0.7 # 2024-03-23: required for ghcjs
|
||||
- apply-refact == 0.9.* # 2022-12-12: needed for GHC < 9.2
|
||||
- apply-refact == 0.11.* # 2023-02-02: needed for hls-hlint-plugin on GHC 9.2
|
||||
- attoparsec == 0.13.* # 2022-02-23: Needed to compile elm for now
|
||||
- commonmark-pandoc < 0.2.3 # 2025-04-06: Needed for pandoc 3.6
|
||||
- extensions == 0.1.0.2 # 2024-10-20: for GHC 9.10/Cabal 3.12
|
||||
@ -89,13 +88,13 @@ extra-packages:
|
||||
- hasql-notifications < 0.2.3 # 2025-01-19: Needed for building postgrest
|
||||
- hasql-pool < 1.1 # 2025-01-19: Needed for building postgrest
|
||||
- hasql-transaction < 1.1.1 # 2025-01-19: Needed for building postgrest
|
||||
- hlint == 3.4.1 # 2022-09-21: needed for hls with ghc-lib-parser 9.2
|
||||
- hlint == 3.4.1 # 2022-09-21: preserve for ghc 8.10
|
||||
- hlint == 3.6.* # 2025-04-14: needed for hls with ghc-lib-parser 9.6
|
||||
- hnix-store-core < 0.7 # 2023-12-11: required by hnix-store-remote 0.6
|
||||
- hspec < 2.8 # 2022-04-07: Needed for tasty-hspec 1.1.6
|
||||
- hspec-core < 2.8 # 2022-04-07: Needed for tasty-hspec 1.1.6
|
||||
- hspec-discover < 2.8 # 2022-04-07: Needed for tasty-hspec 1.1.6
|
||||
- hspec-megaparsec == 2.2.0 # 2023-11-18: Latest version compatible with ghc 9.0, needed for HLS
|
||||
- hspec-megaparsec == 2.2.0 # 2023-11-18: Latest version compatible with ghc 9.0
|
||||
- hspec-meta < 2.8 # 2022-12-07: Needed for elmPackages.elm / hspec-discover
|
||||
- language-javascript == 0.7.0.0 # required by purescript
|
||||
- lsp < 2.5 # 2024-07-08: need for koka
|
||||
@ -103,16 +102,16 @@ extra-packages:
|
||||
- lsp-types == 2.1.* # 2024-02-28: need for dhall-lsp-server and koka
|
||||
- network-run == 0.4.0 # 2024-10-20: for GHC 9.10/network == 3.1.*
|
||||
- optparse-applicative < 0.16 # needed for niv-0.2.19
|
||||
- ormolu == 0.5.2.0 # 2023-08-08: for hls on ghc 9.0 and 9.2
|
||||
- ormolu == 0.5.2.0 # 2023-08-08: preserve for ghc 9.0
|
||||
- ormolu == 0.7.2.0 # 2023-11-13: for ghc-lib-parser 9.6 compat
|
||||
- ormolu == 0.7.7.0 # 2025-01-27: for ghc 9.10 compat
|
||||
- postgresql-binary < 0.14 # 2025-01-19: Needed for building postgrest
|
||||
- primitive-unlifted == 0.1.3.1 # 2024-03-16: Needed for hls on ghc 9.2
|
||||
- retrie < 1.2.0.0 # 2022-12-30: required for hls on ghc < 9.2
|
||||
- primitive-unlifted == 0.1.3.1 # 2024-03-16: preserve for ghc 9.2
|
||||
- retrie < 1.2.0.0 # 2022-12-30: preserve for ghc < 9.2
|
||||
- shake-cabal < 0.2.2.3 # 2023-07-01: last version to support Cabal 3.6.*
|
||||
- stylish-haskell == 0.14.4.0 # 2022-09-19: needed for hls on ghc 9.2
|
||||
- stylish-haskell == 0.14.4.0 # 2022-09-19: preserve for ghc 9.0
|
||||
- stylish-haskell == 0.14.5.0 # 2025-04-14: needed for hls with ghc-lib 9.6
|
||||
- tar == 0.6.0.0 # 2025-02-08: last version to not require os-string (which can't be buil with GHC < 9.2)
|
||||
- tar == 0.6.0.0 # 2025-02-08: last version to not require os-string (which can't be built with GHC < 9.2)
|
||||
- text == 2.0.2 # 2023-09-14: Needed for elm (which is currently on ghc-8.10)
|
||||
- text-metrics < 0.3.3 # 2025-02-08: >= 0.3.3 uses GHC2021
|
||||
- versions < 6 # 2024-04-22: required by spago-0.21
|
||||
|
||||
@ -80680,102 +80680,6 @@ self: {
|
||||
}
|
||||
) { };
|
||||
|
||||
"apply-refact_0_11_0_0" = callPackage (
|
||||
{
|
||||
mkDerivation,
|
||||
base,
|
||||
containers,
|
||||
directory,
|
||||
extra,
|
||||
filemanip,
|
||||
filepath,
|
||||
ghc,
|
||||
ghc-boot-th,
|
||||
ghc-exactprint,
|
||||
ghc-paths,
|
||||
optparse-applicative,
|
||||
process,
|
||||
refact,
|
||||
silently,
|
||||
syb,
|
||||
tasty,
|
||||
tasty-expected-failure,
|
||||
tasty-golden,
|
||||
transformers,
|
||||
uniplate,
|
||||
unix-compat,
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "apply-refact";
|
||||
version = "0.11.0.0";
|
||||
sha256 = "1bmm9s8h5grqp1c8m1x9icbhznfc565za8w3sqfpiylid7c7fz72";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
libraryHaskellDepends = [
|
||||
base
|
||||
containers
|
||||
directory
|
||||
extra
|
||||
filemanip
|
||||
ghc-boot-th
|
||||
ghc-exactprint
|
||||
ghc-paths
|
||||
process
|
||||
refact
|
||||
syb
|
||||
transformers
|
||||
uniplate
|
||||
unix-compat
|
||||
];
|
||||
executableHaskellDepends = [
|
||||
base
|
||||
containers
|
||||
directory
|
||||
extra
|
||||
filemanip
|
||||
filepath
|
||||
ghc
|
||||
ghc-boot-th
|
||||
ghc-exactprint
|
||||
ghc-paths
|
||||
optparse-applicative
|
||||
process
|
||||
refact
|
||||
syb
|
||||
transformers
|
||||
uniplate
|
||||
unix-compat
|
||||
];
|
||||
testHaskellDepends = [
|
||||
base
|
||||
containers
|
||||
directory
|
||||
extra
|
||||
filemanip
|
||||
filepath
|
||||
ghc
|
||||
ghc-boot-th
|
||||
ghc-exactprint
|
||||
ghc-paths
|
||||
optparse-applicative
|
||||
process
|
||||
refact
|
||||
silently
|
||||
syb
|
||||
tasty
|
||||
tasty-expected-failure
|
||||
tasty-golden
|
||||
transformers
|
||||
uniplate
|
||||
unix-compat
|
||||
];
|
||||
description = "Perform refactorings specified by the refact library";
|
||||
license = lib.licenses.bsd3;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
mainProgram = "refactor";
|
||||
}
|
||||
) { };
|
||||
|
||||
"apply-refact" = callPackage (
|
||||
{
|
||||
mkDerivation,
|
||||
|
||||
@ -579,6 +579,8 @@ let
|
||||
compilerNames.ghc8107
|
||||
# Support ceased as of 2.5.0.0
|
||||
compilerNames.ghc902
|
||||
# Support ceased as of 2.10.0.0
|
||||
compilerNames.ghc928
|
||||
] released;
|
||||
hoogle = released;
|
||||
hlint = lib.subtractLists [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user