Adding a world file to cabal-install

Peter Robinson thaldyron at
Sun Feb 8 08:29:05 EST 2009

Hi Duncan,

2009/2/8 Duncan Coutts <duncan.coutts at>:
> On Fri, 2009-02-06 at 15:18 +0100, Peter Robinson wrote:

>> 2. How should that command look like? Something like:
>> # cabal install --world
> Yes, if anyone else has a suggestion on this pitch in. In gentoo we say:
> $ emerge --upgrade world
> ie world acts rather like a meta-package of all the things the user
> deliberately installed.

Mhm, I agree with that but I'm unsure how to relate meta-packages to
normal packages: In my understanding a meta-package doesn't have a version,
so it doesn't have a 'PackageIdentifier' (and can't be an instance of class

> Thanks very much Peter for having a go at this one. I promise I'll
> properly review your patch soon.

You might as well wait until I've figured out the meta-package stuff as
that might require some changes.

> I'm shortly going to do a release and I think I might leave this new
> feature 'til afterwards. However don't worry as I expect to put out
> another release shortly after that with more dependency resolver
> improvements so your feature will make it for that release.

No problem.


More information about the cabal-devel mailing list