You are not logged in.

#1 2017-07-15 17:23:08

zerophase
Member
Registered: 2015-09-03
Posts: 229

When upgrading GHC do all Haskell packages need to be reinstalled?

I haven't actually used Haskell in any of my development experience, so I only have a weak grasp of how the whole Haskell ecosystem works.  Whenever GHC receives an upgrade I get informed I should reinstall every cabalized package. Does that mean I need to reinstall every package with GHC as a dependency?

This post gives suggestsions for solving any issues.

pacman -Qi ghc
pacman -Rdd ghc haskell-mtl  haskell-random  haskell-syb  haskell-transformers  haskell-utf8-string  haskell-x11  haskell-x11-xft  xmonad  xmonad-contrib <any other dependencies here>
pacman -Syyu ghc haskell-mtl  haskell-random  haskell-syb  haskell-transformers  haskell-utf8-string  haskell-x11  haskell-x11-xft  xmonad  xmonad-contrib <any other dependencies here>

This suggestion definitely solves any issues. But, is there a better way of addressing this other than having to uninstall and reinstall a bunch of packages every time ghc gets updated?

Offline

Board footer

Powered by FluxBB