Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

compiling with ghc-7.8-rc2 #190

Open
zerobuzz opened this Issue · 3 comments

2 participants

@zerobuzz

Hi everybody,

I built snap on ghc7.8-rc2 and had to overcome a few obstacles:

  1. block is now Control.Exception.mask_

  2. GHC.Conc.forkOnIO is now forkOn

  3. Data.Typeable has been re-written to get rid of the tedious kind
    hack, and must now be derived instead of defined.

  4. template-haskell version restriction must be lifted to include 2.9.

If you change all these, 'cabal install' should work again.

That's as far as I got. Building the test suite is another project :-). I might come back with a pull request at some point in the future, but I hope these hints are helpful on their own already.

cheers,
matthias

@zerobuzz

(I should probably mention that snap-core is the only one of the three snap repos that works without change (I think). The changes listed above are mostly relevant for building snap-server and snap. Sorry for the confusion..)

@gregorycollins

I might come back with a pull request at some point in the future

If you do (and it would be appreciated), it should be against the 0.9-stable branch. I need to get a GHC 7.8 setup working asap :(

@gregorycollins

This should be fixed w/ snap-server 0.9.4.2, please confirm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.