haskell.packages.ghc910.haskell-language-server: fix package

This commit is contained in:
Eldritch Cookie 2024-08-27 11:02:28 -03:00
parent 6cdc8ac1f7
commit c4f8cd1a44
3 changed files with 24 additions and 3 deletions

View File

@ -68,11 +68,14 @@ self: super: {
apply-refact = doDistribute self.apply-refact_0_14_0_0;
attoparsec-aeson = doDistribute self.attoparsec-aeson_2_2_2_0;
extensions = doDistribute self.extensions_0_1_0_2;
fourmolu = doDistribute self.fourmolu_0_16_2_0;
hashable = doDistribute self.hashable_1_4_7_0;
integer-conversion = doDistribute self.integer-conversion_0_1_1;
ghc-lib-parser = doDistribute self.ghc-lib-parser_9_10_1_20240511;
ghc-lib-parser-ex = doDistribute self.ghc-lib-parser-ex_9_10_0_0;
lens = doDistribute self.lens_5_3_2;
lukko = doDistribute self.lukko_0_1_2;
ormolu = doDistribute self.ormolu_0_7_7_0;
primitive = doDistribute (dontCheck self.primitive_0_9_0_0); # tests introduce a recursive dependency via hspec
quickcheck-instances = doDistribute self.quickcheck-instances_0_3_31;
rebase = doDistribute self.rebase_1_21_1;
@ -83,15 +86,15 @@ self: super: {
uuid-types = doDistribute self.uuid-types_1_0_6;
# A given major version of ghc-exactprint only supports one version of GHC.
ghc-exactprint = doDistribute self.ghc-exactprint_1_10_0_0;
ghc-exactprint_1_10_0_0 = addBuildDepends [
ghc-exactprint = doDistribute self.ghc-exactprint_1_9_0_0;
ghc-exactprint_1_9_0_0 = addBuildDepends [
self.Diff
self.extra
self.ghc-paths
self.silently
self.syb
self.HUnit
] super.ghc-exactprint_1_10_0_0;
] super.ghc-exactprint_1_9_0_0;
#
# Jailbreaks
@ -120,4 +123,8 @@ self: super: {
lukko_0_1_2 = dontCheck super.lukko_0_1_2; # doesn't compile with tasty ==1.4.*
resolv = dontCheck super.resolv; # doesn't compile with filepath ==1.5.*
primitive-unlifted = dontCheck super.primitive-unlifted; # doesn't compile with primitive ==0.9.*
haskell-language-server = disableCabalFlag "retrie" (disableCabalFlag "hlint" (disableCabalFlag "stylishhaskel" (super.haskell-language-server.override {stylish-haskell = null;retrie = null;apply-refact=null;hlint = null;})));
}

View File

@ -66,6 +66,7 @@ extra-packages:
- ghc-exactprint == 1.5.* # 2023-03-30: needed for GHC == 9.2
- ghc-exactprint == 1.6.* # 2023-03-30: needed for GHC == 9.4
- ghc-exactprint == 1.8.* # 2024-05-20: needed for GHC == 9.8
- ghc-exactprint == 1.9.* # 2024-08-27: needed for GHC == 9.10
- ghc-lib == 9.2.* # 2022-02-17: preserve for GHC 8.10, 9.0
- ghc-lib == 9.8.* # 2024-05-19: preserve for GHC 9.8
- ghc-lib-parser == 9.2.* # 2022-02-17: preserve for GHC 8.10, 9.0

View File

@ -120625,6 +120625,19 @@ self: {
hydraPlatforms = lib.platforms.none;
}) {};
"ghc-exactprint_1_9_0_0" = callPackage
({ mkDerivation }:
mkDerivation {
pname = "ghc-exactprint";
version = "1.9.0.0";
sha256 = "195y3yy7bjrx3b21nqrhxrnbxidaydb9g28i37wqx5glv8y65v51";
isLibrary = true;
isExecutable = true;
description = "ExactPrint for GHC";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
}) {};
"ghc-exactprint_1_10_0_0" = callPackage
({ mkDerivation }:
mkDerivation {