ghc-boot

Shared functionality between GHC and its boot libraries

Version on this page:8.8.2
LTS Haskell 22.43:9.6.6
Stackage Nightly 2024-03-07:9.8.1
Latest on Hackage:9.10.1@rev:1

See all snapshots ghc-boot appears in

BSD-3-Clause licensed
Maintained by [email protected]
This version can be pinned in stack with:ghc-boot-8.8.2@sha256:7596bcc2eac62d157d0e94bcf8406974ba67e7233e4a4dcf4cc32aebfa7ec6b0,1980

This library is shared between GHC, ghc-pkg, and other boot libraries.

A note about GHC.PackageDb: it only deals with the subset of the package database that the compiler cares about: modules paths etc and not package metadata like description, authors etc. It is thus not a library interface to ghc-pkg and is *not* suitable for modifying GHC package databases.

The package database format and this library are constructed in such a way that while ghc-pkg depends on Cabal, the GHC library and program do not have to depend on Cabal.