[Haskell-cafe] Upgrading GHC 7.6.3 global packages to latest versions
x at shou.io
Fri Jun 28 22:49:53 CEST 2013
In "shipped with GHC", did you mean Haskell Platform? If so, cabal-dev is
one way to solve your problem here. You can do #1 too, but that would
probably break some packages.
On 28 June 2013 10:06, Rouan van Dalen <rvdalen at yahoo.co.uk> wrote:
> I am trying to install the latest version of some hackage packages I use
> often in GHC 7.6.3.
> However, I am having some problems with packages like [containers] and
> [time], which
> are shipped with GHC as global packages.
> Now when I try to install the latest version of the [time] package, I have
> time packages, 1 in the global package db (the older version), and 1 in
> the user package db
> (the newer version).
> Now I would like subsequent installed packages to always use the latest
> version of the [time]
> package. But if i try to install the [plugins] package, cabal says:
> #In order, the following would be installed:
> #ghc-paths-0.1.0.9 (new package)
> #random-18.104.22.168 (reinstall) changes: time-1.4.1 -> 22.214.171.124
> #plugins-126.96.36.199 (new package)
> So I guess I have 2 options here:
> 1. unregister all the global packages so that I can
> install the latest versions of all the global packages.
> 2. force cabal to only look at latest packages in user package db (not sure
> if this is possible).
> Can anyone please point me in the right direction here. I have read about
> [cabal-dev], but I am not sure if it can be used to solve my problem.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe