
Hi Thomas, On Sun, Jun 24, 2007 at 12:41:32PM +0200, Thomas Schilling wrote:
you just received a longish patch bundle, that together implement Cabal configurations.
Great! Things mostly seem to work in the HEAD. I'm attaching a couple of patches that I needed. I've also moved some of base/Setup.hs into base/base.cabal, although I haven't checked that it works yet. One thing I found is that I needed an IsGHC flag; should there be an impl(GHC) built-in? I guess further down this road is testing the /version/ of the implementation as well, and perhaps even the tags. Also, I'm not sure how to patch up libraries/installPackage.hs. It used to do pdFile <- defaultPackageDesc verbosity pd <- readPackageDescription verbosity pdFile lbi <- getPersistBuildConfig so I think I now want to do pdFile <- defaultPackageDesc verbosity ppd <- readPackageDescription verbosity pdFile lbi <- getPersistBuildConfig pd <- finalizePackageDescription lbi ppd except finalizePackageDescription doesn't work like that. What's the best way to do this? Thanks Ian