Reputation: 949
For instance, I've just updated ghc from 7.6.2 to 7.6.3 and would like just reinstall all the packages I had previously installed.
Upvotes: 3
Views: 187
Reputation: 949
Running
cabal install world
will install all the previously installed packages. Some packages might not install, in which case one can delete them from ~/.cabal/world and run the command again, and install them again later when they are working again with that version of ghc.
Upvotes: 3