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.
This commit is contained in:
siggsy 2025-10-18 08:51:58 +02:00
commit 9181d4f34e

View file

@ -21,7 +21,6 @@
defaultServers = ["hls"]; defaultServers = ["hls"];
servers = { servers = {
hls = { hls = {
cmd = [(getExe' pkgs.haskellPackages.haskell-language-server "haskell-language-server-wrapper") "--lsp"];
on_attach = on_attach =
mkLuaInline mkLuaInline
/* /*