What packages are connected to the GHC?

When testing cabal sandbox I found that you cannot install different versions of base and some other packages in the sandbox, as indicated in this answer .

I wonder which packages are hardwired to the GHC. Is there a complete list somewhere? I could not find it using Google. I do not just want to get a list of packages that are installed using ghc. I want to know which packages are so integral to GHC that you cannot install multiple versions of these packages even in the sandbox. In other words, which packages do not lend themselves to a bonded sandbox?

+8
haskell ghc sandbox cabal
source share
1 answer

If you run ghc-pkg list , there should be two package lists: those installed in /usr/local/lib/ghc (or wherever GHC is installed), and those listed in ~/.ghc/ . Packages in /usr/local/lib/ghc come with GHC.

+4
source share

All Articles