[Haskell-cafe] cabal, Setup.lhs example

Sittampalam, Ganesh ganesh.sittampalam at credit-suisse.com
Fri Jul 23 06:59:17 EDT 2010

Mark Wotton wrote:

> Perhaps cabal should print a warning if you have a Setup.hs file,
> _and_ try to use Simple? It'd at least give the hint that they're
> unhappy together.  

I think it should instead verify that Setup.hs is consistent with a
Simple build. I don't know how much variation exists, but I believe
"import Distribution.Simple\nmain = defaultMain\n" is all such a
Setup.hs file actually needs.


Please access the attached hyperlink for an important electronic communications disclaimer: 

More information about the Haskell-Cafe mailing list