diff options
author | sternenseemann <sternenseemann@systemli.org> | 2024-01-06 16:39:09 +0100 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2024-01-06 16:42:49 +0100 |
commit | 61c8d2aa5de62cb9b45099409f8ebe14f8067065 (patch) | |
tree | d80d252e700a59e6d560942a65bbea4cb188da0e /pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix | |
parent | ca733b431bff805ccfc28f1ffeefe8a53c537f42 (diff) |
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.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix | 6 |
1 files changed, 5 insertions, 1 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 83b2fc05dd895..bbaec23e1be3f 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; |