haskell / haskell-platform

Distribution of Haskell with batteries included
http://www.haskell.org/platform/
Other
381 stars 91 forks source link

Haskell Platform 8.6.3: Wrong version of Cabal in the list of contents #323

Closed asr closed 5 years ago

asr commented 5 years ago

The version of Cabal (the library) reported here for Haskell Platform 8.6.3 is 2.4.0.1, but the version correctly reported by cabal-install is 2.4.1.0 (as was informed by @Bubbler-4):

$ cabal --version
cabal-install version 2.4.1.0
compiled using version 2.4.1.0 of the Cabal library
gbaz commented 5 years ago

That version is the version of cabal-the-library that the cabal-install binary was built with, which is not the same as the version of cabal-the-library that ships as a library with ghc. The latter can be seen with ghc-pkg list and it is actually the lower one, as correctly listed.