Skip to content

Commit

Permalink
Add an explicit message when system-ghc is used
Browse files Browse the repository at this point in the history
  • Loading branch information
harendra-kumar committed Jun 15, 2021
1 parent 79fb443 commit 37bbe8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -894,6 +894,8 @@ ensure_ghc() {

if test -n "$GHCVER"
then
echo "GHCVER is specified, using '$STACKCMD --system-ghc'."
echo "Clear GHCVER to use stack supplied ghc."
check_version_die $COMPILER $GHCVER
# If the user specified GHCVER then use it as system-ghc
# Stack will still silently choose its own ghc if the ghc does not match
Expand Down

0 comments on commit 37bbe8a

Please sign in to comment.