[Haskell-cafe] Cabal question, adding data files

Conrad Parker conrad at metadecks.org
Thu Aug 24 00:12:08 EDT 2006


On Wed, Aug 23, 2006 at 11:36:00PM +0100, Neil Mitchell wrote:
> Hi
> 
> >The field you want is data-files, documented in section 2.1.1 of the
> >Cabal User's Guide.
> 
> That looks perfect. Is there any reason that Alex doesn't use this? I
> was trying to learn by example.

Perhaps because Alex predates the data-files field; data-files was only
introduced in Cabal 1.1.4. Hence you might want to also put the following
at the top of your .cabal file:

Cabal-Version:       >= 1.1.4

cheers,

Conrad.


More information about the Haskell-Cafe mailing list