[Haskell-cafe] C headers in cabal dependencies

Duncan Coutts duncan.coutts at googlemail.com
Mon Nov 16 19:49:03 EST 2009


On Wed, 2009-10-28 at 17:34 -0200, Maurí­cio CA wrote:
> Hi,
> 
> I've been using 'install-includes' in a package. I sometimes make
> small changes to those include files, and I've seen that cabal
> doesn't consider then dependencies, i.e., doesn't rebuild .hsc
> files depending on then.
> 
> I'm not sure if this is an error, as parsing hsc2hs input may
> not be cabal task. Anyway, I would like to suggest that files in
> install-includes be considered dependencies and that files under
> 'includes' be also included when processing '.hsc' files.

This is an instance of the long standing lack of module/file dependency
tracking in Cabal:
http://hackage.haskell.org/trac/hackage/ticket/15


Duncan



More information about the Haskell-Cafe mailing list