Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/1136'
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Oct 28, 2024
2 parents 9d6f101 + 88ee540 commit 5c09769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/hooks/stack/ghc-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set -eu

case $HOOK_GHC_TYPE in
bindist)
ghc_path=$(ghcup whereis ghc "$HOOK_GHC_VERSION" || { ghcup install ghc "$HOOK_GHC_VERSION" >/dev/null && ghcup whereis ghc "$HOOK_GHC_VERSION" ; }) || { >&2 echo "Installing $HOOK_GHC_VERSION via ghcup failed" exit 3 ;}
ghc_path=$(ghcup whereis ghc "$HOOK_GHC_VERSION" || { ghcup install ghc "$HOOK_GHC_VERSION" >/dev/null && ghcup whereis ghc "$HOOK_GHC_VERSION" ; }) || { >&2 echo "Installing $HOOK_GHC_VERSION via ghcup failed" ; exit 3 ;}
printf "%s" "${ghc_path}"
;;
git)
Expand Down

0 comments on commit 5c09769

Please sign in to comment.