alevy / postgresql-orm

An Haskell ORM (Object Relational Mapping) and migrations DSL for PostgreSQL.
http://simple.cx
GNU General Public License v3.0
77 stars 12 forks source link

Fix haddock build #21

Closed charles-cooper closed 7 years ago

charles-cooper commented 7 years ago

stack build --haddock was failing with

Data/GetField.hs:1:1: error:
    File name does not match module name:
    Saw: ‘Main’
    Expected: ‘Data.GetField’

This is likely a problem with cabal using a ghetto cpphs, cf. https://ghc.haskell.org/trac/ghc/ticket/8143 https://github.com/haskell/cabal/issues/883

alevy commented 7 years ago

Lol... OK, fine with me :)