Allow not to install "recommended" GHC version during 'ghcup' install script/setup
As of writing, the script executed by the install instructions given in https://www.haskell.org/ghcup/, namely
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
ask the user whether to install stack or hls, but does not ask the same question regarding GHC.
It starts downloading and installing the recommended
version of GHC.
I think the script should ask the user, and enable us not to install any GHC during running the install script of ghcup
: if the user knows that he wants to install a different version than the recommended, then this is step means that an unnecessary ~200 MB will be downloaded.
Also, on WSL 1, GHC 8.8.4 can be installed, while 8.10 and newer can't. The failing install of the recommended (currently 8.10) GHC also leads to the script aborting and the $PATH
variable not being set to include ~/.ghcup/bin
.
Feature/Improvement request:
Enable the user to choose not to install GHC during the execution of the ghcup
setup script.