agrafix / Spock

Another Haskell web framework for rapid development
https://www.spock.li
678 stars 56 forks source link

Broken package < 0.11.0? #90

Closed elfeck closed 8 years ago

elfeck commented 8 years ago

Heyoh, thanks for your work on Spock and the 0.11 release. I want to transition soon but I need to be able to build the < 0.11 for the moment.
Right now cabal gives me this error (ghc 8.01, cabal 1.24.0):

Preprocessing library Spock-0.10.0.1...
[ 1 of 13] Compiling Web.Spock.Internal.Wire ( src/Web/Spock/Internal/Wire.hs, dist/dist-sandbox-c1786a3c/build/Web/Spock/Internal/Wire.o )

src/Web/Spock/Internal/Wire.hs:43:1: error:
    Failed to load interface for ‘Web.Routing.AbstractRouter’
    Use -v to see a list of the files searched for.
cabal: Leaving directory '/tmp/cabal-tmp-8652/Spock-0.10.0.1'

Any ideas what causes this? A quick google search did not bring up anything really.

agrafix commented 8 years ago

Ah, this is very likely due to missing upper bounds. I've added them so it should work again now

elfeck commented 8 years ago

Yes, works now, thank you for the quick solution!