[Haskell-cafe] build tools and Cabal

John Lato jwlato at gmail.com
Mon Nov 24 20:30:10 EST 2008


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?  It would be very helpful as I'm trying to work around the
broken cpp Apple provides.


More information about the Haskell-Cafe mailing list