about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix
diff options
context:
space:
mode:
authormaralorn <mail@maralorn.de>2023-10-22 01:23:30 +0200
committermaralorn <mail@maralorn.de>2023-10-22 01:23:30 +0200
commit40ce16ef93a43931d7e48a36b8cdf8d69f302f5e (patch)
tree86bb2e90be52beb6c22f80da7af80d525632226a /pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix
parent37282b51d9649376a8a3afa82ec74e148e2608fa (diff)
downloadnixlib-40ce16ef93a43931d7e48a36b8cdf8d69f302f5e.tar
nixlib-40ce16ef93a43931d7e48a36b8cdf8d69f302f5e.tar.gz
nixlib-40ce16ef93a43931d7e48a36b8cdf8d69f302f5e.tar.bz2
nixlib-40ce16ef93a43931d7e48a36b8cdf8d69f302f5e.tar.lz
nixlib-40ce16ef93a43931d7e48a36b8cdf8d69f302f5e.tar.xz
nixlib-40ce16ef93a43931d7e48a36b8cdf8d69f302f5e.tar.zst
nixlib-40ce16ef93a43931d7e48a36b8cdf8d69f302f5e.zip
haskell-language-server: Fix for all supported GHCs
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix
index 29e7aab2491a..0c1bf8518ea4 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix
@@ -71,10 +71,9 @@ self: super: {
     Cabal-syntax = self.Cabal-syntax_3_8_1_0;
   };
 
-  fourmolu = self.fourmolu_0_10_1_0.override {
-    Cabal-syntax = self.Cabal-syntax_3_8_1_0;
-  };
+  stylish-haskell = doJailbreak super.stylish-haskell_0_14_4_0;
 
+  haskell-language-server = disableCabalFlag "fourmolu" (super.haskell-language-server.override { hls-fourmolu-plugin = null; });
   # For GHC < 9.4, some packages need data-array-byte as an extra dependency
   hashable = addBuildDepends [ self.data-array-byte ] super.hashable;
   primitive = addBuildDepends [ self.data-array-byte ] super.primitive;