From 61c8d2aa5de62cb9b45099409f8ebe14f8067065 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sat, 6 Jan 2024 16:39:09 +0100 Subject: haskell.packages.ghc92.haskell-language-server: disable stan plugin hls-stan-plugin is not buildable with GHC >= 9.2.4 && < 9.4, so we have no GHC from the 9.2 series that would support this plugin. --- pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pkgs/development/haskell-modules') 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 83b2fc05dd89..bbaec23e1be3 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix @@ -74,7 +74,11 @@ self: super: { stylish-haskell = doJailbreak super.stylish-haskell_0_14_4_0; - haskell-language-server = disableCabalFlag "fourmolu" (super.haskell-language-server.override { hls-fourmolu-plugin = null; }); + haskell-language-server = disableCabalFlag "fourmolu" (super.haskell-language-server.override { + hls-fourmolu-plugin = null; + # Not buildable if GHC > 9.2.3, so we ship no compatible GHC + hls-stan-plugin = null; + }); # 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