[Haskell-cafe] Custom Setup.hs and Paths module

Daniel Díaz Casanueva dhelta.diaz at gmail.com
Wed Jul 3 03:20:06 CEST 2013

Hi everyone.

I am writing a package where I am using the Paths module that cabal
generates automatically. After adding the Paths module to the
"other-modules" section in my cabal file everything worked just fine, until
I wanted to write a custom Setup.hs. This Setup.hs just writes a couple of
files in the system and then calls "defaultMain". The thing is that now
"cabal install" does not find the Paths module, so the package is broken.

Any thoughts? I need your help, people!

Thank you,
Daniel Díaz.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130703/de9451cb/attachment.htm>

More information about the Haskell-Cafe mailing list