Remove Setup.hs, use Setup.lhs only

Ian Lynagh igloo at
Tue Nov 28 14:58:22 EST 2006

On Tue, Nov 28, 2006 at 06:41:16PM +0000, Neil Mitchell wrote:
> Another advantage of not having a Setup.hs file is that you can't get
> your machine taken over just by installing a package. The library
> author would have to be much more creative.

Only if cabal-setup uses defaultMain rather than the hooks which run
configure or make, and if TH isn't enabled anywhere. There may be other
thing to watch out for too.


More information about the cabal-devel mailing list