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.h
I think, though I haven't tried this, that you can replace the
instHooks with one that:
1. filters out the private executables from the PackageDescription
2. Provides this new PackageDescription to the standard instHook.
Which I would think is the instHook of the UserHooks parameter passed
to yo
On Mon, Oct 20, 2008 at 3:04 PM, Mauricio <[EMAIL PROTECTED]> wrote:
> 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
>
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