Corresponding hls ticket: https://github.com/haskell/haskell-language-server/issues/3161
Using on Windows 10
ghcup install hls
no longer works. I tried this in both a User and Admin privileges.
C:\ghcup\logs\ghcup.log
Debug: Identified Platform as: Windows
Debug: last access was 64.65654s ago, cache interval is 300s
Debug: Decoding yaml at: C:\ghcup\cache\ghcup-0.0.7.yaml
Warn: New ghc version available. To upgrade, run 'ghcup install ghc 9.4.2'
Warn: New cabal version available. To upgrade, run 'ghcup install cabal 3.8.1.0'
Info: verifying digest of: gs.exe
Debug: Requested to install hls version 1.8.0.0
Info: downloading: https://downloads.haskell.org/~hls/haskell-language-server-1.8.0.0/haskell-language-server-1.8.0.0-x86_64-windows.zip as file C:\ghcup\tmp\ghcup-0b0774dde5062542\haskell-language-server-1.8.0.0-x86_64-windows.zip
Info: verifying digest of: haskell-language-server-1.8.0.0-x86_64-windows.zip
Info: Unpacking: haskell-language-server-1.8.0.0-x86_64-windows.zip to C:\ghcup\tmp\ghcup-8e02a962bb90bda9
Error: Both installation and setting the tool failed. Install error was: Tar directory does not exist: haskell-language-server-1.8.0.0
Set error was: The version 1.8.0.0 of the tool hls is not installed.
Error: Also check the logs in C:\ghcup\logs
The GHCup Haskell Installer, version v0.1.18.0
The error log seems to suggest it might be trying to treat a zip file as a tar and failing a file path... though I'm speculating.