about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
diff options
context:
space:
mode:
authormaralorn <mail@maralorn.de>2022-09-20 02:49:35 +0200
committermaralorn <mail@maralorn.de>2022-09-21 05:23:07 +0200
commit7c2fda45cc67990994ee160309fb5ed2e8425ff3 (patch)
tree453ed0a86849d206967887c105301a3c00f392e9 /pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
parenta7d50b4e0988e4f53d2d3629c7b5f57c2736480f (diff)
downloadnixlib-7c2fda45cc67990994ee160309fb5ed2e8425ff3.tar
nixlib-7c2fda45cc67990994ee160309fb5ed2e8425ff3.tar.gz
nixlib-7c2fda45cc67990994ee160309fb5ed2e8425ff3.tar.bz2
nixlib-7c2fda45cc67990994ee160309fb5ed2e8425ff3.tar.lz
nixlib-7c2fda45cc67990994ee160309fb5ed2e8425ff3.tar.xz
nixlib-7c2fda45cc67990994ee160309fb5ed2e8425ff3.tar.zst
nixlib-7c2fda45cc67990994ee160309fb5ed2e8425ff3.zip
haskell-language-server: 1.7.0.0 -> 1.8.0.0
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.nix6
1 files changed, 6 insertions, 0 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 c5585825c382..9cc6a3ecd243 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
@@ -99,6 +99,12 @@ self: super: {
     sha256 = "0rgzrq0513nlc1vw7nw4km4bcwn4ivxcgi33jly4a7n3c1r32v1f";
   }) (doJailbreak super.language-haskell-extract);
 
+  haskell-language-server = super.haskell-language-server.overrideScope (lself: lsuper: {
+    # Needed for modern ormolu and fourmolu.
+    # Apply this here and not in common, because other ghc versions offer different Cabal versions.
+    Cabal = lself.Cabal_3_6_3_0;
+  });
+
   # The test suite depends on ChasingBottoms, which is broken with ghc-9.0.x.
   unordered-containers = dontCheck super.unordered-containers;