diff options
author | maralorn <mail@maralorn.de> | 2023-08-08 22:45:56 +0200 |
---|---|---|
committer | maralorn <mail@maralorn.de> | 2023-08-08 22:49:51 +0200 |
commit | 3f8666295104180f95d27d209453dc1c83565b2f (patch) | |
tree | 8d728168882232584b7dc5946504e2229ffda5d9 /pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix | |
parent | d0cdaabcf9f988799baf6990216f94051207462f (diff) |
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.nix | 9 |
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 28d02a5c8e5d1..c9ac2bae0f814 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 |