haskell / haskell-platform

Distribution of Haskell with batteries included

Home Page:http://www.haskell.org/platform/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

asr opened this issue · comments

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
commented

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.