Improve stack post install

This commit is contained in:
Julian Ospald 2022-12-19 00:15:16 +08:00
parent 5d50438a4c
commit 9abf634f8c
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F
2 changed files with 4 additions and 10 deletions

View File

@ -3634,17 +3634,11 @@ ghcupDownloads:
- old
viChangeLog: https://github.com/commercialhaskell/stack/blob/master/ChangeLog.md#v251
viPostInstall: &stack-post |
Stack manages GHC versions internally by default. In order to make it use ghcup installed
GHC versions you can run the following commands:
stack config set install-ghc false --global
stack config set system-ghc true --global
Stack manages GHC versions internally by default. To improve integration, please visit:
https://www.haskell.org/ghcup/guide/#stack-integration
On windows, you may find the following config options useful too:
skip-msys, extra-path, extra-include-dirs, extra-lib-dirs
Also check out: https://docs.haskellstack.org/en/stable/yaml_configuration
!!! Additionally, you should upgrade stack only through ghcup and not use 'stack upgrade' !!!
Also check out:
https://docs.haskellstack.org/en/stable/yaml_configuration
viArch:
A_64:
Linux_UnknownLinux:

Binary file not shown.