mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
Don't install stack install hook
See https://github.com/commercialhaskell/stack/issues/5895 Stack feature is documented here: https://docs.haskellstack.org/en/stable/yaml_configuration/#ghc-installation-customisation It's recommended, but probably too unexpected for CI. It means stack will not install GHC on its own, but through GHCup.
This commit is contained in:
@@ -9,6 +9,7 @@ source $HELPER_SCRIPTS/etc-environment.sh
|
||||
|
||||
# Any nonzero value for noninteractive installation
|
||||
export BOOTSTRAP_HASKELL_NONINTERACTIVE=1
|
||||
export BOOTSTRAP_HASKELL_INSTALL_NO_STACK_HOOK=1
|
||||
export GHCUP_INSTALL_BASE_PREFIX=/usr/local
|
||||
export BOOTSTRAP_HASKELL_GHC_VERSION=0
|
||||
ghcup_bin=$GHCUP_INSTALL_BASE_PREFIX/.ghcup/bin
|
||||
|
||||
Reference in New Issue
Block a user