Skip to content

Commit

Permalink
Don't let stack install GHC
Browse files Browse the repository at this point in the history
  • Loading branch information
hasufell committed Feb 6, 2022
1 parent ed9bf02 commit 2d10024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindist/wrapper.in
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ then
:
# try stack
elif command -v stack >/dev/null &&
GHC_BIN="$(cd "$(mktemp -d)" && stack --install-ghc --resolver "ghc-${GHC_VERSION}" exec sh -- -c 'command -v ghc')" &&
GHC_BIN="$(cd "$(mktemp -d)" && stack --no-system-ghc --no-install-ghc --resolver "ghc-${GHC_VERSION}" exec sh -- -c 'command -v ghc')" &&
GHC_LIBDIR="$("${GHC_BIN}" --print-libdir)" &&
check_ghc "${GHC_LIBDIR}" "${GHC_BIN}" "$(infer_ghc_pkg "${GHC_BIN}")" "stack"
then
Expand Down

0 comments on commit 2d10024

Please sign in to comment.