[Hackage] #199: when installing a new version of GHC,
there should be a way to upgrade my packages
Hackage
trac at galois.com
Tue Dec 18 14:52:21 EST 2007
#199: when installing a new version of GHC, there should be a way to upgrade my
packages
---------------------------------+------------------------------------------
Reporter: guest | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: cabal-install tool | Version: 1.2.3.0
Severity: normal | Resolution:
Keywords: | Difficulty: normal
Ghcversion: 6.8.2 | Platform: Linux
---------------------------------+------------------------------------------
Comment (by duncan):
We have a tool for gentoo that does exactly that. It goes through the old
ghc package.conf (well actually, a separate set of files that each gentoo
ebuild installs) and rebuilds all the available packages for the new ghc.
We'd have to do it in a rather sloppy way since we do not know that each
registered package was actually installed by cabal-install or is available
from hackage. Also, many packages would fail to build with new ghc so we'd
want to not stop when the first package fails but produce a report at the
end saying which old packages were unavailable or failed to rebuild.
Such a sloppy mode, producing a report would also be very useful for
general hackage QA.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/199#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list