gogol-core-0.0.1 does not compile
peti opened this issue · 4 comments
Citing from http://hydra.cryp.to/build/1732331/nixlog/1/raw:
Building gogol-core-0.0.1...
Preprocessing library gogol-core-0.0.1...
src/Network/Google/Data/Time.hs:37:18:
Could not find module ‘Servant.Common.Text’
Use -v to see a list of the files searched for.
I suppose that module has been removed from servant-0.6.x?
Thanks for notifying me. I'll look at upgrading it to whatever the replacement is.
Other option could be to add a < 0.5
upper bound to the servant build-depends in core/gogol-core.cabal
file. Not sure if that would work for NixOS, though.
Relevant servant change log here: https://github.com/haskell-servant/servant/blob/master/servant-server/CHANGELOG.md#05
Yes, you should definitely edit your Cabal file on Hackage to add that constraint on servant
. It won't help NixOS, though, because we have updated our version of servant
already and cannot easily compile the package with an older version any more.
A fix has been pushed for future releases, and the cabal metadata was updated.