
15 Dec
2012
15 Dec
'12
4:38 p.m.
On Sat, 15 Dec 2012 16:14:59 +0100, Brandon Allbery
On Sat, Dec 15, 2012 at 9:01 AM, Petr P
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 --