haskell / haskell/haskell-language-server

HLS install on Alpine Linux: "Unable to find a download for 2.4.0.0

Open
#3,876 4 comments 0 reactions 0 assignees View on GitHub
bindists
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
4d 3h
Merged PRs (30d)
12

Description

Hi! I am currently unable to install HLS via ghcup on Alpine Linux.

Steps to reproduce:
- Alpine Linux with `ghcup` installed
- `ghcup -v install hls`

Actual behavior:
```
[ Debug ] Identified Platform as: Linux Alpine, 3.19_alpha20230901
[ Debug ] last access was 122.698411141s ago, cache interval is 300s
[ Debug ] Decoding yaml at: /home/foxy/.ghcup/cache/ghcup-0.0.8.yaml
[ Error ] [GHCup-07140] Both installation and setting the tool failed. Install error was: Unable to find a download for 2.4.0.0
[ ... ] Set error was: The version 2.4.0.0 of the tool hls is not installed.
[ Error ] Also check the logs in /home/foxy/.ghcup/logs
```
Expected behavior: `hls 2.4.0.0` is installed correctly.

This is the output of `ghcup list`:
```
✗ hls 1.1.0
✗ hls 1.2.0
✗ hls 1.3.0
✗ hls 1.4.0
✗ hls 1.5.0
✗ hls 1.5.1
✗ hls 1.6.0.0
✗ hls 1.6.1.0
✗ hls 1.7.0.0 no-bindist
✗ hls 1.8.0.0 no-bindist
✗ hls 1.9.0.0 no-bindist
✗ hls 1.9.1.0 no-bindist
✗ hls 1.10.0.0 no-bindist
✗ hls 2.0.0.0 no-bindist
✗ hls 2.0.0.1 no-bindist
✗ hls 2.1.0.0 no-bindist
✗ hls 2.2.0.0 no-bindist
✗ hls 2.3.0.0 no-bindist
✗ hls 2.4.0.0 latest,recommended no-bindist
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.