diff options
author | maralorn <mail@maralorn.de> | 2024-03-16 22:39:37 +0100 |
---|---|---|
committer | maralorn <mail@maralorn.de> | 2024-03-16 22:39:37 +0100 |
commit | b8ec29ee7033b9585109b67ab9fcc8d003734f45 (patch) | |
tree | 52c4ffa7b9fc9d22fc6a691392f5f6d254138eae | |
parent | 33fb613422811f5b8a71e5b0dc5174924cc90102 (diff) |
haskell.packages.ghc92.haskell-language-server: Fix build
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix | 10 |
1 files 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 bfe39e0a7597d..59e8d0f0894e2 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; |