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

Binary file not shown.