about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2024-01-06 16:39:09 +0100
committersternenseemann <sternenseemann@systemli.org>2024-01-06 16:42:49 +0100
commit61c8d2aa5de62cb9b45099409f8ebe14f8067065 (patch)
treed80d252e700a59e6d560942a65bbea4cb188da0e /pkgs/development/haskell-modules
parentca733b431bff805ccfc28f1ffeefe8a53c537f42 (diff)
downloadnixlib-61c8d2aa5de62cb9b45099409f8ebe14f8067065.tar
nixlib-61c8d2aa5de62cb9b45099409f8ebe14f8067065.tar.gz
nixlib-61c8d2aa5de62cb9b45099409f8ebe14f8067065.tar.bz2
nixlib-61c8d2aa5de62cb9b45099409f8ebe14f8067065.tar.lz
nixlib-61c8d2aa5de62cb9b45099409f8ebe14f8067065.tar.xz
nixlib-61c8d2aa5de62cb9b45099409f8ebe14f8067065.tar.zst
nixlib-61c8d2aa5de62cb9b45099409f8ebe14f8067065.zip
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')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix6
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 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;