haskell.packages.ghc96.haskell-language-server: explicitly disable fourmolu plugin

This commit is contained in:
Dennis Gosnell 2023-05-30 08:56:03 +09:00
parent 9a3641e0f9
commit 6ddd5973f4
No known key found for this signature in database
GPG key ID: 462E0C03D11422F4

View file

@ -154,13 +154,22 @@ self: super: {
# 2023-04-03: plugins disabled for hls 1.10.0.0 based on
#
haskell-language-server = super.haskell-language-server.override {
hls-ormolu-plugin = null;
hls-floskell-plugin = null;
hls-fourmolu-plugin = null;
hls-hlint-plugin = null;
hls-stylish-haskell-plugin = null;
};
haskell-language-server =
let
# TODO: HLS-2.0.0.0 added support for the foumolu plugin for ghc-9.6.
# However, putting together all the overrides to get the latest
# version of fourmolu compiling together with ghc-9.6 and HLS is a
# little annoying, so currently fourmolu has been disabled. We should
# try to enable this at some point in the future.
hlsWithFlags = disableCabalFlag "fourmolu" super.haskell-language-server;
in
hlsWithFlags.override {
hls-ormolu-plugin = null;
hls-floskell-plugin = null;
hls-fourmolu-plugin = null;
hls-hlint-plugin = null;
hls-stylish-haskell-plugin = null;
};
MonadRandom = super.MonadRandom_0_6;
unix-compat = super.unix-compat_0_7;