haskell.packages.ghc8107.haskell-language-server: enable fourmolu plugin

This commit is contained in:
Malte Brandy 2022-04-14 12:47:52 +02:00
parent 76168cb096
commit 82b4dabe8f

View file

@ -98,14 +98,13 @@ self: super: {
super.hls-hlint-plugin); super.hls-hlint-plugin);
haskell-language-server = appendConfigureFlags [ haskell-language-server = appendConfigureFlags [
"-f-fourmolu"
"-f-stylishhaskell" "-f-stylishhaskell"
"-f-brittany" "-f-brittany"
] ]
(super.haskell-language-server.override { super.haskell-language-server;
# Not buildable on 8.10
hls-fourmolu-plugin = null; # has a restrictive lower bound on Cabal
}); fourmolu = doJailbreak super.fourmolu;
# ormolu 0.3 requires Cabal == 3.4 # ormolu 0.3 requires Cabal == 3.4
ormolu = super.ormolu_0_2_0_0; ormolu = super.ormolu_0_2_0_0;