Improve stack GHC install script
This commit is contained in:
parent
9902adab6d
commit
787edc17af
@ -9,7 +9,7 @@ set -eu
|
||||
|
||||
case $HOOK_GHC_TYPE in
|
||||
bindist)
|
||||
ghcdir=$(ghcup run --ghc "$HOOK_GHC_VERSION" --install) || exit 3
|
||||
ghcdir=$(ghcup whereis --directory ghc "$HOOK_GHC_VERSION" || ghcup run --ghc "$HOOK_GHC_VERSION" --install) || exit 3
|
||||
printf "%s/ghc" "${ghcdir}"
|
||||
;;
|
||||
git)
|
||||
|
Loading…
Reference in New Issue
Block a user