summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
diff options
context:
space:
mode:
authorMalte Brandy <malte.brandy@maralorn.de>2022-02-05 03:13:24 +0100
committerMalte Brandy <malte.brandy@maralorn.de>2022-02-05 03:13:24 +0100
commitc87d14a770c99ae9c01cb019a8134edf31944bce (patch)
tree1b08a78cf91b61efda587099724da211e351966e /pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
parent11895db491aae58ef1a2d7c2dfd673266dc1d1af (diff)
downloadnixpkgs-c87d14a770c99ae9c01cb019a8134edf31944bce.tar
nixpkgs-c87d14a770c99ae9c01cb019a8134edf31944bce.tar.gz
nixpkgs-c87d14a770c99ae9c01cb019a8134edf31944bce.tar.bz2
nixpkgs-c87d14a770c99ae9c01cb019a8134edf31944bce.tar.lz
nixpkgs-c87d14a770c99ae9c01cb019a8134edf31944bce.tar.xz
nixpkgs-c87d14a770c99ae9c01cb019a8134edf31944bce.tar.zst
nixpkgs-c87d14a770c99ae9c01cb019a8134edf31944bce.zip
haskell.packages.ghc902.haskell-language-server: Enable all working plugins
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix17
1 files changed, 4 insertions, 13 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
index 819b8655f5e..c628fe95f7c 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
@@ -150,23 +150,14 @@ self: super: {
   # Fixes a bug triggered on GHC 9.0.1
   text-short = self.text-short_0_1_5;
 
-  # 2021-09-18: The following plugins don‘t work yet on ghc9.
-  haskell-language-server = appendConfigureFlags [
-    "-f-tactic"
-    "-f-splice"
-    "-f-refineimports"
-    "-f-class"
+  fourmolu = doJailbreak self.fourmolu_0_4_0_0;
 
-    "-f-fourmolu"
+  # 2022-02-05: The following plugins don‘t work yet on ghc9.
+  # Compare: https://haskell-language-server.readthedocs.io/en/latest/supported-versions.html
+  haskell-language-server = appendConfigureFlags [
     "-f-brittany"
     "-f-stylishhaskell"
   ] (super.haskell-language-server.override {
-    hls-tactics-plugin = null; # No upstream support, generic-lens-core fail
-    hls-splice-plugin = null; # No upstream support in hls 1.4.0, should be fixed in 1.5
-    hls-refine-imports-plugin = null; # same issue es splice-plugin
-    hls-class-plugin = null; # No upstream support
-
-    hls-fourmolu-plugin = null; # No upstream support, needs new fourmolu release
     hls-stylish-haskell-plugin = null; # No upstream support
     hls-brittany-plugin = null; # Dependencies don't build with 9.0.1
   });