I install haskell on my wsl 2, and I do install hls
saber@Saber:~/haskell$ ghcup install hls[ Info ] downloading: https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-0.0.9.yaml as file /home/saber/.ghcup/cache/ghcup-0.0.9.yaml% Total % Received % Xferd Average Speed Time Time Time CurrentDload Upload Total Spent Left Speed0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
[ Warn ] New ghc version available. If you want to install this latest version, run ‘ghcup install ghc 9.14.1’
[ Warn ] New cabal version available. If you want to install this latest version, run ‘ghcup install cabal 3.16.1.0’
[ Warn ] New stack version available. If you want to install this latest version, run ‘ghcup install stack 3.9.1’
[ Warn ] [GHCup-00110] hls-2.13.0.0 is already installed; if you really want to reinstall it, you may want to run ‘ghcup install hls --force 2.13.0.0’
however, when I use vscode to open haskell files, it seems like the extension `Haskell` warns
Couldn’t get the latest haskell-language-server releases from GitHub used local cache instead:
It is a warn, so everything seems work well when i try to coding. But it will warn every time when i open haskell file. That’s annoying.
Tool Version Tags Notes
✗ ghc 9.6.4 base-4.18.2.0
✗ ghc 9.6.5 base-4.18.2.1
✗ ghc 9.6.6 base-4.18.2.1
✔✔ ghc 9.6.7 recommended,base-4.18.3.0
✗ ghc 9.8.1 base-4.19.0.0 2023-10-09
✗ ghc 9.8.2 base-4.19.1.0 2024-02-23
✗ ghc 9.8.4 base-4.19.2.0 2024-11-27
✗ ghc 9.10.1 base-4.20.0.0
✗ ghc 9.10.2 base-4.20.1.0
✗ ghc 9.10.3 base-4.20.1.0
✗ ghc 9.12.1 base-4.21.0.0 2024-12-15
✗ ghc 9.12.2 base-4.21.0.0 2025-03-12
✓ ghc 9.14.1 latest,base-4.22.0.0 2025-12-18
✗ cabal 3.14.1.0
✗ cabal 3.14.1.1
✗ cabal 3.14.1.1-p1
✔✔ cabal 3.14.2.0 recommended
✗ cabal 3.16.0.0
✗ cabal 3.16.1.0 latest
✗ hls 2.11.0.0
✗ hls 2.12.0.0
✓ hls 2.13.0.0 latest,recommended
✗ stack 3.3.1
✗ stack 3.5.1
✔✔ stack 3.7.1 recommended
✗ stack 3.9.1 latest
This is my installed list. Since everything is working. I think the problem is the setting of Haskell extension or the network.