From 3f8666295104180f95d27d209453dc1c83565b2f Mon Sep 17 00:00:00 2001 From: maralorn Date: Tue, 8 Aug 2023 22:45:56 +0200 Subject: haskell.packages.ghc9{0,2}.haskell-language-server: Fix build --- pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix') 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 38379c7221c8..59579a58867f 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix @@ -58,6 +58,14 @@ self: super: { # weeder == 2.5.* requires GHC 9.4 weeder = doDistribute self.weeder_2_4_1; + 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; + }; + # 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; -- cgit 1.4.1