HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

ModuleCabal-3.12.1.0Haskell2010

Distribution.Types.LocalBuildConfig

  • 5 types
  • 1 value
  • PackageCabal-3.12.1.0
  • Exports6
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceLocalBuildConfig.hs

The types

5 declarations
datadata PackageBuildDescr
#

PackageBuildDescr contains the information Cabal determines after performing package-wide configuration of a package, before doing any per-component configuration.

Constructors

Instances6Read, Show, Generic, Binary, Structured, Rep
datadata ComponentBuildDescr
#

Information about individual components in a package, determined after the configure step.

Constructors

  • ComponentBuildDescr
    • componentGraph :: Graph ComponentLocalBuildInfo

      All the components to build, ordered by topological sort, and with their INTERNAL dependencies over the intrapackage dependency graph. TODO: this is assumed to be short; otherwise we want some sort of ordered map.

    • componentNameMap :: Map ComponentName [ComponentLocalBuildInfo]

      A map from component name to all matching components. These coincide with componentGraph There may be more than one matching component because of backpack instantiations

    • promisedPkgs :: Map (PackageName, ComponentName) ComponentId

      The packages we were promised, but aren't already installed. MP: Perhaps this just needs to be a Set UnitId at this stage.

    • installedPkgs :: InstalledPackageIndex

      All the info about the installed packages that the current package depends on (directly or indirectly). The copy saved on disk does NOT include internal dependencies (because we just don't have enough information at this point to have an InstalledPackageInfo for an internal dep), but we will often update it with the internal dependencies; see for example build. (This admonition doesn't apply for per-component builds.)

Instances6Read, Show, Generic, Binary, Structured, Rep
datadata LocalBuildDescr
#

'LocalBuildDescr ' contains the information Cabal determines after performing package-wide and per-component configuration of a package.

This information can no longer be changed after that point.

Constructors

Instances6Read, Show, Generic, Binary, Structured, Rep
datadata LocalBuildConfig
#

LocalBuildConfig contains options that can be controlled by the user and serve as inputs to the configuration of a package.

Constructors

Instances6Read, Show, Generic, Binary, Structured, Rep
datadata BuildOptions
#

BuildOptions contains configuration options that can be controlled by the user.

Constructors

Instances7Eq, Read, Show, Generic, Binary, Structured, …

Conversion functions

1 declaration