Package Details: haskell-language-server-static

Git Clone URL: (read-only, click to copy)
Package Base: haskell-language-server-static
Description: Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.
Upstream URL:
Keywords: haskell
Licenses: Apache
Conflicts: haskell-language-server, haskell-language-server-git
Provides: haskell-language-server
Submitter: carbolymer
Maintainer: carbolymer (mrzeznicki)
Last Packager: carbolymer
Votes: 9
Popularity: 0.000101
First Submitted: 2021-10-06 06:35 (UTC)
Last Updated: 2024-05-17 11:55 (UTC)

Latest Comments

1 2 Next › Last »

vlatkoB commented on 2024-03-04 19:35 (UTC) (edited on 2024-03-04 19:36 (UTC) by vlatkoB)

Getting many like this:

haskell-language-server- Could not stat haskell-language-server- File name too long

$HOME is on ext4

carbolymer commented on 2024-01-08 13:12 (UTC)

Pushed the fix. Sorry for that oversight.

ovanr commented on 2024-01-08 07:51 (UTC)

The pkgrel field in the PKGBUILD is 1 and in .SRCINFO it is 2. As a result, an AUR helper keeps showing this package as upgradable. Can you fix this?

vlatkoB commented on 2024-01-06 06:18 (UTC)

I'm getting for some time now:

Package (1)                     Old Version  New Version  Net Change
haskell-language-server-static      0.00 MiB

and it never upgrades.

Veri commented on 2023-12-23 07:19 (UTC)


mrzeznicki commented on 2022-05-08 11:54 (UTC)

If you happen to use 9.0.2 GHC and get the GHC ABIs don't match error - this is a known bug, use this as a workaround:

mrzeznicki commented on 2022-05-05 18:27 (UTC)

Thanks to @carbolymer I will be co-maintaining this package. With the release of, many things have changed in the way haskell-language-server is built and distributed. Binaries are now dynamically linked and checked at runtime to match the GHC ABI used in the project. Therefore, we provide distribution of prebuilt binaries for UnknownLinux (identical to fedora27 version; suitable for Arch) linked in a way suitable for Stack/Cabal projects using a supported GHC version (this means that if you use Stack to download GHC for you, hls should be available for projects using local GHC. Or, if you installed your GHC via ghcup or official downloads, hls should also work fine). If in doubt, run HLS_WRAPPER_DEBUG=1 haskell-language-server-wrapper typecheck in your project directory to see what it is trying to do. Feel free to report any packaging related errors here.

mrzeznicki commented on 2022-05-01 21:58 (UTC)

With HLS changed the way they build and distribute binaries. Executables are not now completely static, but are dynamically linked to match the GHC version. Long story short, I have success using the following PKGBUILD:

# Maintainer: Marcin Rzeźnicki <>

pkgdesc="Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine."
depends=('sh' 'zlib' 'gmp')
conflicts=('haskell-language-server' 'haskell-language-server-git')

package() {
  cd "${srcdir}/haskell-language-server-${pkgver}"
  make DESTDIR="$pkgdir/" PREFIX="/usr" install

This changes the package name etc. for my own purposes, but you may adapt it to this package if you want to maintain it further (I am not sure if -static is the correct name now though, but, well ...). I tested the resulting binaries with stack and various projects and they seem to work. Of course, there are some combinations I have not tested e.g. using it with Arch's GHC but I don't think many people use it.

mrzeznicki commented on 2021-10-08 16:26 (UTC)

Thanks for taking over! I'll open a PR to HLS to update their documentation to point to this package as an installation method on Arch. Thank you!