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>2023-08-08 22:45:56 +0200
committermaralorn <mail@maralorn.de>2023-08-08 22:49:51 +0200
commit3f8666295104180f95d27d209453dc1c83565b2f (patch)
tree8d728168882232584b7dc5946504e2229ffda5d9 /pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
parentd0cdaabcf9f988799baf6990216f94051207462f (diff)
downloadnixlib-3f8666295104180f95d27d209453dc1c83565b2f.tar
nixlib-3f8666295104180f95d27d209453dc1c83565b2f.tar.gz
nixlib-3f8666295104180f95d27d209453dc1c83565b2f.tar.bz2
nixlib-3f8666295104180f95d27d209453dc1c83565b2f.tar.lz
nixlib-3f8666295104180f95d27d209453dc1c83565b2f.tar.xz
nixlib-3f8666295104180f95d27d209453dc1c83565b2f.tar.zst
nixlib-3f8666295104180f95d27d209453dc1c83565b2f.zip
haskell.packages.ghc9{0,2}.haskell-language-server: Fix build
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.nix9
1 files changed, 9 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 28d02a5c8e5d..c9ac2bae0f81 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
@@ -68,6 +68,14 @@ self: super: {
   tuple = addBuildDepend self.base-orphans super.tuple;
   vector-th-unbox = doJailbreak super.vector-th-unbox;
 
+  ormolu = self.ormolu_0_5_2_0.override {
+    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;
+  };
+
   doctest = dontCheck super.doctest;
   # Apply patches from head.hackage.
   language-haskell-extract = appendPatch (pkgs.fetchpatch {
@@ -87,6 +95,7 @@ self: super: {
     # 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;
+    hls-overloaded-record-dot-plugin = null;
   }));
 
   # Needs to use ghc-lib due to incompatible GHC