update ghcup.md: inform users of the dependency of ghcup over hackage #269
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
当前版本的ghcup在安装时也会安装cabal,而如果只按照原本文档的内容做,此时的cabal并没有被设置科大镜像,因此会直接从官方网站走,下载量约100M,且没有很好的进度提示;
解决方案是按照hackage帮助中的内容设置cabal镜像;
我建议在ghcup的帮助中,建议读者阅读cabal镜像的帮助,并设置cabal镜像的代理;这部分文档的调整已经在这个PR中完成;
但是否采取这一方案,或是要重新组织文档的顺序,我认为有待讨论。