stack upgrade --git fails if correct GHC is not installed #797
Labels
Milestone
Comments
Stack has recently become more precise about requiring an (nearly) exact GHC version match with the LTS snapshot (see #736), and since stack uses LTS 3.0 and LTS 3.0 requires GHC 7.10.2, you need GHC 7.10.2 to build stack. It's been quite a while since stack installed GHC without That said, I could see automatically installing the required GHC for the case of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just tried doing
stack upgrade --git
from stack 0.1.3.1. It gave the following error:It should probably run
stack setup
if you don't have the correct GHC installed.On a side note, why doesn't stack build/install/test/etc automatically download the correct GHC for you anymore? One of the really cool things about stack was you literally run one command to get going and stack handles everything for you. The existence of
stack setup
seems to complicate this and leads to situations like above.The text was updated successfully, but these errors were encountered: