Custom-compiled HLS does not start if the version is not yet available from GHCup
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- haskell, typescript
- Área
- developer-experience, tooling
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- TypeScript
- Estrellas
- 594
- Forks
- 99
- Merge medio
- 18 h 19 min
- PR fusionados (30 d)
- 4
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de haskell/vscode-haskell
-
Support VS Code's foldable `#region` by adding `folding.markers` to `language-configuration.json`Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
haskell/vscode-haskell#1394 ·
-
type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
haskell/vscode-haskell#1332 · 2 comentarios ·
-
status: needs triage
Dificultad 3/5 Medio día Aptitud para principiantes 62/100
haskell/vscode-haskell#1412 · 1 comentario ·
-
Being offline can disable HLSAbiertostatus: needs triage
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
haskell/vscode-haskell#1399 · 4 comentarios ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
haskell/vscode-haskell#1387 · 2 comentarios ·
Todos los issues de haskell/vscode-haskell
Issues similares
-
bug data-types
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
ClickHouse/clickhouse-js#1293 ·
Los mantenedores suelen responder en 1 día
-
area: middleware enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
agent/quality testing
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
Los mantenedores suelen responder en 1 día
-
GitHub registry install via `gh` credentials rewrites `\u0000`–`\u001f` escapes in source files to `^@`–`^_`Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 92/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
juspay/agent-distro#203 ·
Los mantenedores suelen responder en 1 día