|
41 | 41 | }
|
42 | 42 | )
|
43 | 43 |
|
44 |
| - # TODO remove this when `dependent-sum-0.7.1.0` constraint on `some` has been updated. |
45 |
| - # See https://github.com/haskell/haskell-language-server/issues/2969 |
46 |
| - # and https://github.com/obsidiansystems/dependent-sum/issues/71 |
47 | 44 | ({config, lib, pkgs, ...}:
|
48 | 45 | { _file = "haskell.nix/overlays/hackage-quirks.nix#haskell-language-server"; } //
|
49 | 46 | lib.mkIf (config.name == "haskell-language-server") {
|
| 47 | + # TODO remove this when `dependent-sum-0.7.1.0` constraint on `some` has been updated. |
| 48 | + # See https://github.com/haskell/haskell-language-server/issues/2969 |
| 49 | + # and https://github.com/obsidiansystems/dependent-sum/issues/71 |
50 | 50 | cabalProject = lib.mkDefault (''
|
51 | 51 | packages: .
|
52 | 52 | constraints: dependent-sum >=0.7.1.0
|
53 | 53 | ''
|
54 |
| - # TODO remove once these two plugins have been updated in hackage |
55 |
| - + lib.optionalString (config.version == "1.8.0.0") '' |
56 |
| - package haskell-language-server |
57 |
| - flags: -qualifyimportednames -stylishhaskell${lib.optionalString (config.compiler-nix-name != "ghc902") " -hlint"} |
58 |
| - '' |
59 | 54 | # TODO Remove this flag once the hls-haddock-comments-plugin is updated in hackage to work with ghc 9.2
|
60 | 55 | + lib.optionalString (__elem config.compiler-nix-name ["ghc921" "ghc922" "ghc923" "ghc924" "ghc925"]) ''
|
61 | 56 | package haskell-language-server
|
62 | 57 | flags: -haddockcomments
|
63 |
| - '' |
64 |
| - # Exclude `retrie` that does not actually work with older versions of GHC. |
65 |
| - # TODO Remove this once https://github.com/facebookincubator/retrie/pull/51 is fixed somehow |
66 |
| - + lib.optionalString (__elem config.compiler-nix-name ["ghc865" "ghc884" "ghc8105" "ghc8106" "ghc8107" "ghc901" "ghc902"]) '' |
67 |
| - constraints: retrie <1.2.1 |
68 | 58 | '');
|
69 | 59 | }
|
70 | 60 | )
|
|
0 commit comments