This commit is contained in:
Julian Ospald 2022-07-10 21:05:51 +02:00
parent 04d527c98a
commit aa71f0dfa1
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F

View File

@ -375,6 +375,16 @@ download_ghcup() {
# shellcheck disable=SC1090 # shellcheck disable=SC1090
edo . "${GHCUP_DIR}"/env edo . "${GHCUP_DIR}"/env
case "${BOOTSTRAP_HASKELL_DOWNLOADER}" in
"curl")
;;
"wget")
eghcup config set downloader Wget
;;
*)
die "Unknown downloader: ${BOOTSTRAP_HASKELL_DOWNLOADER}"
;;
esac
eghcup upgrade eghcup upgrade
} }