[darcs-users] darcs patch: Refactor version machinery in Setup.lhs. (and 3 more)

Duncan Coutts duncan at haskell.org
Mon Jan 26 11:02:01 UTC 2009


On Mon, 2009-01-26 at 08:26 +0000, Eric Kow wrote:
> On Mon, Jan 26, 2009 at 17:33:48 +1100, Trent W. Buck wrote:
> > Eric Kow <kowey at darcs.net> writes:
> > 
> > > 3. I have upgraded darcs.net to Cabal 1.6 and the apply posthooks to
> > 
> > I confirmed yesterday that the Cabal build doesn't work with the Cabal
> > 1.4 that shipped with GHC 6.8 (it can't find Distribution.Text).
> 
> Whoops, that's right (Trent).

GHC 6.8  shipped with Cabal 1.2.
GHC 6.10 shipped with Cabal 1.6.

> > Am I correct in thinking that supporting Cabal 1.4 is non-trivial and
> > not worth the effort?
> 
> Care to comment, Duncan?

It depends what you're doing. I didn't get any of the context. Certainly
cabal version-specific code in Setup.hs is problematic.

Duncan



More information about the darcs-users mailing list