From e2632059d5c6dba6f6cb0804474102f4f875b388 Mon Sep 17 00:00:00 2001 From: siggsy Date: Sat, 18 Oct 2025 08:51:58 +0200 Subject: [PATCH] languages/haskell: remove cmd with hls-wrapper `haskell-language-server-wrapper` only selects the correct `haskell-language-server`. Snippet from hls documentation: > HLS is a binary that must be compiled with the same version of > GHC as the project you are using it on. For this reason it is > usually distributed as a collection of binaries, along with a > haskell-language-server-wrapper executable that selects the correct > one based on which version of GHC it thinks you are using. By providing `hls-wrapper` we pull A LOT of dependencies, but do not use them (around 6.7GB). This is unecessary since we then have to provide `haskell-language-server` in haskell projects bundled with compatable GHC. --- modules/plugins/languages/haskell.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/plugins/languages/haskell.nix b/modules/plugins/languages/haskell.nix index a2b7a424..7f4c62e9 100644 --- a/modules/plugins/languages/haskell.nix +++ b/modules/plugins/languages/haskell.nix @@ -21,7 +21,6 @@ defaultServers = ["hls"]; servers = { hls = { - cmd = [(getExe' pkgs.haskellPackages.haskell-language-server "haskell-language-server-wrapper") "--lsp"]; on_attach = mkLuaInline /*