[Haskell-cafe] build tools and Cabal

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Tue Nov 25 15:18:35 EST 2008

On Tue, 2008-11-25 at 01:30 +0000, John Lato wrote:
> Hello,
> Cabal allows specifying arguments for tools it recognizes on the
> command line, e.g.
> runhaskell Setup.hs configure --c2hs-option=some_option
> Unfortunately, I can't find a way to make this work with .cabal (or
> .buildinfo) files, except for the specific cases of ghc, hugs, and
> nhc98 options.  Am I missing something? 


> If not, could this be added easily?

Yes, but it's not clear that we should.

> It would be very helpful as I'm trying to work around the broken cpp
> Apple provides.

Perhaps we should do the workaround once rather than adding the
workaround to every package.

What is the problem exactly?


More information about the Haskell-Cafe mailing list