[Haskell-cafe] Hackage suggestion: Gather the list of the licenses of all dependencies of a package
Henk-Jan van Tuyl
hjgtuyl at chello.nl
Sat Dec 15 22:38:11 CET 2012
On Sat, 15 Dec 2012 16:14:59 +0100, Brandon Allbery <allbery.b at gmail.com>
wrote:
> On Sat, Dec 15, 2012 at 9:01 AM, Petr P <petr.mvd at gmail.com> wrote:
>
>> 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?
>>
>
> Shortcoming of cabal; it only "knows about" libraries because it is
> really
> just a front-end for ghc-pkg, so can't really figure dependencies
> involving
> only executables and not libraries. The same thing comes up with happy,
> alex, and gtk2hsc2hs.
>
A work-around for this would be to add a dummy library to program-only
packages.
Regards,
Henk-Jan van Tuyl
--
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--
More information about the Haskell-Cafe
mailing list