On Mon, 2008-10-20 at 17:04 -0200, Mauricio wrote:
> Hi,
> 
> I would like to include a few source files
> as 'executable' sections in a .cabal package
> description. However, although I do want to
> use main=mainDefault features, I do not want
> those packages to be installed when I run
> 'Setup.hs install'.
> 
> Is it possible to do that? I believe there's
> no flag that indicates install step, since (I
> guess) flags are checked only at configure
> time.

Yes, just use this in the executable section:

buildable: False


Duncan

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to