cabal run: --ghc --cabal --hls flags don't work on windows
PS C:\Users\Jaro> ghcup run --ghc 9.2.3 -- ghc --version
[ Info ] verifying digest of: gs.exe
The Glorious Glasgow Haskell Compilation System, version 9.0.2
PS C:\Users\Jaro> ghcup run --cabal 3.6.0.0 -- cabal --version
[ Info ] verifying digest of: gs.exe
cabal-install version 3.6.2.0
compiled using version 3.6.2.0 of the Cabal library
PS C:\Users\Jaro> ghcup run --hls 1.6.1.0 -- haskell-language-server-wrapper --version
[ Info ] verifying digest of: gs.exe
haskell-language-server version: 1.7.0.0 (GHC: 8.8.4) (PATH: C:\ghcup\bin\haskell-language-server-wrapper-1.7.0.0.exe)
Presumably --stack
also doesn't work, but I haven't tested it.
I'm using ghcup
version v0.1.17.8-p1.
Edited by Jaro Reinders