From b8ec29ee7033b9585109b67ab9fcc8d003734f45 Mon Sep 17 00:00:00 2001 From: maralorn Date: Sat, 16 Mar 2024 22:39:37 +0100 Subject: [PATCH] haskell.packages.ghc92.haskell-language-server: Fix build --- .../haskell-modules/configuration-ghc-9.2.x.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 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 bfe39e0a7597..59e8d0f0894e 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix @@ -75,11 +75,17 @@ self: super: { stylish-haskell = doJailbreak super.stylish-haskell_0_14_4_0; - haskell-language-server = disableCabalFlag "fourmolu" (super.haskell-language-server.override { + haskell-language-server = lib.pipe (super.haskell-language-server.override { + hls-ormolu-plugin = null; + hls-stylish-haskell-plugin = null; hls-fourmolu-plugin = null; # Not buildable if GHC > 9.2.3, so we ship no compatible GHC hls-stan-plugin = null; - }); + }) [ + (disableCabalFlag "fourmolu") + (disableCabalFlag "ormolu") + (disableCabalFlag "stylishHaskell") + ]; # 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;