Custom-compiled HLS does not start if the version is not yet available from GHCup
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 68/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- haskell, typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- TypeScript
- スター
- 594
- フォーク
- 99
- 平均マージ
- 18時間 19分
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
haskell/vscode-haskell のほかの issue
-
Support VS Code's foldable `#region` by adding `folding.markers` to `language-configuration.json`オープン
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
haskell/vscode-haskell#1394 ·
-
type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
haskell/vscode-haskell#1332 · コメント 2 件 ·
-
status: needs triage
難易度 3/5 半日 初心者へのやさしさ 62/100
haskell/vscode-haskell#1412 · コメント 1 件 ·
-
status: needs triage
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
haskell/vscode-haskell#1399 · コメント 4 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
haskell/vscode-haskell#1387 · コメント 2 件 ·
haskell/vscode-haskell の issue をすべて見る
似ている issue
-
bug data-types
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
ClickHouse/clickhouse-js#1293 ·
メンテナーはふだん 1 日以内に返信
-
area: middleware enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
agent/quality testing
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
メンテナーはふだん 1 日以内に返信
-
GitHub registry install via `gh` credentials rewrites `\u0000`–`\u001f` escapes in source files to `^@`–`^_`対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 92/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
juspay/agent-distro#203 ·
メンテナーはふだん 1 日以内に返信