The GHC version is specified by the "resolver" in your config.  Lets say
the value is "lts-8.12", then taking a look at this page will give the
answer - https://www.stackage.org/lts-8.12 . Assuming that the compiler is
installed, this should give you its version:

stack ghc -- --version

On Mon, Apr 24, 2017 at 7:34 PM, Kevin Meredith <[email protected]>
wrote:

> Given a stack.yaml and myproject.cabal, how can I tell the Haskell version
> that my stack project is using?
>
> In other words, I'm assuming that there's a place to specify which Haskell
> version to use when building a stack project.
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "haskell-stack" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/haskell-stack/6213f334-3fc7-4808-810d-163b6bab26c3%
> 40googlegroups.com
> <https://groups.google.com/d/msgid/haskell-stack/6213f334-3fc7-4808-810d-163b6bab26c3%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"haskell-stack" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/haskell-stack/CAEYHaY51FMSsdNWHGCQHU%3D3brfrgsPgT%2BoddaFA0CTZYc24U1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to