patch applied (ghc): Avoid the use of unversioned package dependencies

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Nov 15 09:10:23 EST 2007


On Thu, 2007-11-15 at 13:26 +0000, Simon Marlow wrote:

> Actually there could be a user package DB, and that could cause this to go 
> wrong (but only if the user has some of the standard packages registered in 
> their DB, which is fairly unlikely I suppose).

Core packages are upgradable :-) That was part of the point after all.

> Ok, so how about
> 
>    ghc-pkg list <pattern> --simple-output --latest
> 
> to get just the most recent version of the package.  Also we should add a 
> --no-user-package-conf flag to match GHC.

That'd be fantastic, yes.

Duncan



More information about the Cvs-ghc mailing list