On Sat, 15 Dec 2012 16:14:59 +0100, Brandon Allbery <allber...@gmail.com> wrote:

On Sat, Dec 15, 2012 at 9:01 AM, Petr P <petr....@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
--

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to