What steps are needed to upgrade the haskell platform platform?

I just installed haskell-platformon my system (Ubunto 12.04, if that matters). I found that Kebal was still in version 1.14.0.0, and this was causing problems. I also have several packages (i.e. regex-base) that are current, but compiled against an ancient version of the MTL library. The problem is dependency resolution.

Can someone help me with the steps needed to update all parts of the haskell platform.

+4
source share
1 answer

Even if you have the Haskell platform, you can absolutely install the newer version of cabal-install (command line program cabal). cabal install cabal-installwill put the latest version in your local cabal binary directory , i.e. ~/.cabal/bin/cabal. To take precedence over an cabalinstalled platform, be sure to be ~/.cabal/binahead of your path.

What others have said is true. The Haskell platform is not intended for rolling release, and in particular, baseshould not be updated as it is tied to your version of GHC. If you find that you need a newer version of the package, rather than basejust install this package. If you are having problems, it is recommended that you upgrade Ubuntu to get a newer version of GHC and / or the platform.

+6

Source: https://habr.com/ru/post/1523269/


All Articles