[Haskell-cafe] cabal sdist and auto-generated modules

Brandon Allbery allbery.b at gmail.com
Sun Aug 31 14:11:39 UTC 2014

On Sun, Aug 31, 2014 at 9:57 AM, Mateusz Kowalczyk <fuuzetsu at fuuzetsu.co.uk>

> On 08/31/2014 05:45 AM, Marios Titas wrote:
> > I am trying to run cabal sdist on a package where one of exposed
> > modules does not exists because it is automatically generated by
> > setup.hs. cabal refuses to do that because it cannot find the file
> > corresponding to that module. Is there a solution to that problem? The
> > package builds just fine.
> Does touch missingmodule.hs not do it for you?

Sounds like a bad idea, it would mean instead of generating the module it
would take the empty file as the generated module and probably fail to

brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140831/91d643af/attachment.html>

More information about the Haskell-Cafe mailing list