If you are using the vanilla channel these binaries can be installed using GHCup using the vanilla metadata channel. WARNING: Only use this if you also installed GHC via the vanilla channel.
All of these tarballs have associated GPG signatures. The signature should be from Hannes Siebenhandl <hannes.siebenhandl@posteo.net> (key ID 9849506453CA97E75F505D054EF829564CA34FC8).
The prebuilt binaries in this release support the following GHC versions:
9.6.7
9.8.4
9.10.3
9.12.2
9.14.1
ChangeLog
Support for GHC 9.14.1 is preliminary, some plugins are not yet support but will
be in the future.
Plugins that are expected to be supported in a later release:
Since I’m seeing upstreams regularly promote the vanilla channel, I want to make this very clear from GHCup maintainers perspective: the vanilla channel is not recommended for most users.
It does receive only the most minimal QA from the GHCup maintainers.
Mixing vanilla with the default channel can lead to a broken experience (ABI mismatch between GHC and HLS), so the suggested “one-shot” installation method that the post above suggests is definitely not proper.
If you switch channels, you should do so with permanent configuration. The best way is to remove all of GHCup and run the installation script again, then make your choice when asked for which distribution channel to use.
If you are using a ghcup provided GHC from the default channel, and want a HLS version that is not yet released on ghcups default channel, your only choice is to build hls from source and set things up so your self-built hls executable is used as I understand it.
Compiling HLS from source works very well via ghcup (see ghcup compile hls --help).
I remember some dicussion where some of us were wondering if we should be distributing such binaries at all. It’s indeed not trivial. If users have an easy ad-hoc way of compiling GHC API dependent binaries of different versions… is that not enough?
This would also go for the new debugger. But I don’t know what end users think of that. I think for power users this is an ok UX. But for casual or completely new users, I’m not sure.
I guess as an end-user I’m not interested in the gnarly bits like ABI compatibility. I just want to install HLS I understand this is not something you can fix though.