snapframework/snap

compilation failure with template-haskell 2.8

Closed this issue · 3 comments

It works fine with 2.7, but if i do

cabal-dev install 'snap == 0.10.0.1' 'template-haskell == 2.8.0.0'

i get

src/Snap/Starter.hs:21:1:
    Illegal type variable name: `'
    When splicing a TH declaration: tDirBareBones :: 
Failed to install snap-0.10.0.1
cabal: Error: some packages failed to install:
snap-0.10.0.1 failed during the building phase. The exception was:
ExitFailure 1

I'm guessing you have GHC 7.4. My understanding is that versions of GHC
and template-haskell are pretty tightly coupled. I'm running
template-haskelll-2.8.0.0 with GHC 7.6.1 with no problems. And I have also
built Snap successfully with GHC 7.4 and template-haskell-2.7.0.0.

On Mon, Jan 7, 2013 at 7:10 AM, Adam Bergmark notifications@github.comwrote:

It works fine with 2.7, but if i do

cabal-dev install 'snap == 0.10.0.1' 'template-haskell == 2.8.0.0'

i get

src/Snap/Starter.hs:21:1:
Illegal type variable name: `'
When splicing a TH declaration: tDirBareBones ::
Failed to install snap-0.10.0.1
cabal: Error: some packages failed to install:
snap-0.10.0.1 failed during the building phase. The exception was:
ExitFailure 1


Reply to this email directly or view it on GitHubhttps://github.com//issues/65.

ah, yes it's 7.4.

A couple of other people had this issue so i tried to reproduce, not sure how they ended up with th-2.8 installed in the first place.

So I guess I'll close this! Hopefully someone with the same problem will find the closed ticket :)