Custom-compiled HLS does not start if the version is not yet available from GHCup
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 68/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- haskell, typescript
- Ambito
- developer-experience, tooling
Direzione di ricerca
Start at the HLS discovery flow shown in the extension log, especially the whereis hls 2.15.0.0 and ghcup run --hls 2.15.0.0 entry points. Trace how a custom-installed HLS version is handled when GHCup has no download for it. Done means the server starts and the HLS start, restart, and stop commands work without requiring the vanilla channel.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Your environment
Which OS do you use: Fedora Linux 44 Workstation
Steps to reproduce
Compile hls by running the following:
$ ghcup compile hls -g 2.15.0.0 --ghc 9.14.1
The version 2.15.0.0 is not available yet from GHCup main release channel, but the extension still tries to run the following an fails:
$ ghcup --no-verbose run --hls 2.15.0.0 --cabal 3.18.1.0 --stack 3.11.1 --install
[ Error ] Unable to find a download for Tool "hls" version '2.15.0.0' on detected platform x86_64-linux-fedora-44
And the server does not start.
I can workaround the problem by enabling the vanilla channel.
It provides the 2.15.0.0 version of HLS, but I believe the extension still runs the custom-compiled HLS.
Expected behaviour
HLS should start normally even if the version is not available from GHCup yet.
Actual behaviour
The server does not start. The commands "start HLS/restart HLS/stop HLS" do not work.
Include debug information
Paste the contents of extension specific log, you can check instructions about how to find it here
Extension log:
2026-09-21 02:21:36.2040000 [client] INFO Finding haskell-language-server
2026-09-21 02:21:36.2040000 [client] INFO Checking for ghcup installation
2026-09-21 02:21:36.2140000 [client] INFO found ghcup at ghcup
2026-09-21 02:21:36.2150000 [client] INFO Executing 'ghcup --no-verbose upgrade' in cwd '/home/ruifengx'
2026-09-21 02:21:36.9580000 [client] INFO Executing 'ghcup --no-verbose list -t hls -c installed -r' in cwd '/home/ruifengx'
2026-09-21 02:21:37.0410000 [client] INFO Executing 'ghcup --no-verbose list -t cabal -c set -r' in cwd '/home/ruifengx'
2026-09-21 02:21:37.1090000 [client] INFO Executing 'ghcup --no-verbose list -t stack -c set -r' in cwd '/home/ruifengx'
2026-09-21 02:21:37.1840000 [client] INFO Executing 'ghcup --no-verbose whereis hls 2.15.0.0' in cwd '/home/ruifengx'
2026-09-21 02:21:37.2010000 [client] INFO Executing 'ghcup --no-verbose whereis cabal 3.18.1.0' in cwd '/home/ruifengx'
2026-09-21 02:21:37.2230000 [client] INFO Executing 'ghcup --no-verbose whereis stack 3.11.1' in cwd '/home/ruifengx'
2026-09-21 02:21:37.2590000 [client] INFO Executing 'ghc --numeric-version' in cwd '/home/ruifengx'
2026-09-21 02:21:37.3040000 [client] INFO Executing 'ghcup --no-verbose run --hls 2.15.0.0 --cabal 3.18.1.0 --stack 3.11.1 --install' in cwd '/home/ruifengx'
2026-09-21 02:21:37.3820000 [client] ERROR Error executing 'ghcup --no-verbose run --hls 2.15.0.0 --cabal 3.18.1.0 --stack 3.11.1 --install' with error code 27
2026-09-21 02:21:37.3820000 [client] ERROR stderr: [1m[ Error ][0m []8;;https://errors.haskell.org/messages/GHCup-00010\GHCup-00010]8;;\] Unable to find a download for Tool "hls" version '2.15.0.0' on detected platform x86_64-linux-fedora-44
- Lingua principale
- TypeScript
- Stelle
- 594
- Fork
- 99
- Merge medio
- 18h 19m
- PR unite (30g)
- 4
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di haskell/vscode-haskell
-
Support VS Code's foldable `#region` by adding `folding.markers` to `language-configuration.json`Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
haskell/vscode-haskell#1394 ·
-
type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
haskell/vscode-haskell#1332 · 2 commenti ·
-
status: needs triage
Difficoltà 3/5 Mezza giornata Idoneità per principianti 62/100
haskell/vscode-haskell#1412 · 1 commento ·
-
status: needs triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
haskell/vscode-haskell#1399 · 4 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
haskell/vscode-haskell#1387 · 2 commenti ·
Tutte le issue di haskell/vscode-haskell
Issue simili
-
bug data-types
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
ClickHouse/clickhouse-js#1293 ·
I maintainer di solito rispondono entro 1 giorno
-
area: middleware enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
agent/quality testing
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
I maintainer di solito rispondono entro 1 giorno
-
GitHub registry install via `gh` credentials rewrites `\u0000`–`\u001f` escapes in source files to `^@`–`^_`Forse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
juspay/agent-distro#203 ·
I maintainer di solito rispondono entro 1 giorno