[Haskell-cafe] Hackage suggestion: Gather the list of the licenses of all dependencies of a package

Petr P petr.mvd at gmail.com
Sat Dec 15 15:01:24 CET 2012


2012/12/15 Brent Yorgey <byorgey at seas.upenn.edu>

> On Sat, Dec 15, 2012 at 08:13:44AM +0100, Petr P wrote:
> > This is strange, I thought that cpphs should be specified in
> > "build-tools:", not in "build-depends:".
> > <
> >
> http://www.haskell.org/cabal/users-guide/developing-packages.html#build-information
> > >
> >
> > Best regards,
> > Petr
>
> Presumably the reason to list it in build-depends instead of
> build-tools is that in the latter case cabal will not automatically
> install it as a dependency.  But you are right that this is a strange
> situation, since if it is being used only as a preprocessor,
> semantically it ought to be listed in build-tools.
>
>
So if I put cpphs into build-tools and I don't have it installed, the build
will fail? Is this a desired behavior, or a bug?

Best regards,
Petr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20121215/90d70c89/attachment.htm>


More information about the Haskell-Cafe mailing list