Cabal for the GHC build

It's a pity that even simple libraries need a 67-line Setup.hs to make the GHC build work. How about moving the --ghc-option and --configure-option flags into Cabal? --configure-option might be a better idea than the current behaviour of "setup configure" in defaultUserHooks, namely to pass through all unrecognized arguments.

On May 31, 2007, at 2:03 , Ross Paterson wrote:
It's a pity that even simple libraries need a 67-line Setup.hs to make the GHC build work. How about moving the --ghc-option and --configure- option flags into Cabal? --configure-option might be a better idea than the current behaviour of "setup configure" in defaultUserHooks, namely to pass through all unrecognized arguments.
I agree that this is a problem. At the moment a lot of darcs versions of packages are incompatible with the last Cabal release solely because of this. /Björn
participants (2)
-
Bjorn Bringert
-
Ross Paterson