Skip to content
Snippets Groups Projects
Verified Commit 787edc17 authored by Julian Ospald's avatar Julian Ospald :tea:
Browse files

Improve stack GHC install script

parent 9902adab
No related branches found
No related tags found
No related merge requests found
Pipeline #57269 failed
...@@ -9,7 +9,7 @@ set -eu ...@@ -9,7 +9,7 @@ set -eu
case $HOOK_GHC_TYPE in case $HOOK_GHC_TYPE in
bindist) 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}" printf "%s/ghc" "${ghcdir}"
;; ;;
git) git)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment