Allow to set downloader

This commit is contained in:
2020-04-29 19:12:58 +02:00
parent f83dcbc430
commit 0ff7ebb1fd
8 changed files with 126 additions and 30 deletions

View File

@@ -71,7 +71,11 @@ ghci-$(ghc --numeric-version) --version
# test installing new ghc doesn't mess with currently set GHC
# https://gitlab.haskell.org/haskell/ghcup-hs/issues/7
eghcup install 8.4.4
if [ "${OS}" = "DARWIN" ] ; then
eghcup install 8.4.4
else # test wget a bit
eghcup install --downloader=wget 8.4.4
fi
[ "$(ghc --numeric-version)" = "${ghc_ver}" ]
eghcup set 8.4.4
eghcup set 8.4.4