[Haskell-cafe] Stack build with GHC 8?

Michael Snoyman michael at snoyman.com
Tue May 24 08:23:48 UTC 2016

Having spent a lot of time doing just this today, you can use this

    stack init --resolver ghc-8.0.1 --force

Run that from your project's directory. If you have upper bounds, it will
complain about them. Once you relax them, it will generate an appropriate
stack.yaml (overwriting any existing stack.yaml), at which point you can
`stack test`.

I've had a lot of success building packages today, it looks like people
upgraded preemptively to GHC 8 this time :)

On Tue, May 24, 2016 at 11:10 AM, David Turner <
dct25-561bs at mythic-beasts.com> wrote:

> Hi,
> My name appears in the Stackage GHC 8 mega-issue [
> https://github.com/fpco/stackage/issues/1476] and I'd like to upgrade my
> packages. I suspect it's just a case of relaxing the upper bound on base to
> <4.10 but I'd quite like to check that this does, in fact, work.
> However I'm not sure how to go about doing this since there don't yet seem
> to be any stackage snapshots that use GHC 8. What's the best way to get
> around this?
> Cheers,
> David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160524/8b8a1e38/attachment.html>

More information about the Haskell-Cafe mailing list