zohl / servant-auth-cookie

Authentication via encrypted cookies
BSD 3-Clause "New" or "Revised" License
23 stars 23 forks source link

Upgrade GHC 8.0.1 -> 8.0.2 and add GHC 8.2.1 in Travis config #33

Closed mschristiansen closed 7 years ago

mschristiansen commented 7 years ago

The build fails for the GHC 8.2.1 contrained build. Seems to be because of servant-0.11 dependency. Not sure if there is anything to do about that currently(?).

zohl commented 7 years ago

GHC 8.2.1 comes with base-4.10 and servant-0.9.* has constraint base < 4.10, so cabal is unable to resolve dependencies. You should just specify, that in case of this version GHC you want cabal to install servant-0.11 (servant-0.10 has the same problem).

I commented where to update the constraint. Additionally you should create file .travis/servant-0.11-cabal.config with corresponding contents to make it work.

zohl commented 7 years ago

Thank you! Merged.