Cabal-2.0.0.0: A framework for packaging Haskell software

Safe HaskellNone
LanguageHaskell2010

Distribution.Backpack.ConfiguredComponent (signature[?])

Description

Synopsis

Documentation

data ConfiguredComponent Source #

A configured component, we know exactly what its ComponentId is, and the ComponentIds of the things it depends on.

Constructors

ConfiguredComponent 

Fields

cc_name :: ConfiguredComponent -> ComponentName Source #

The ComponentName of a component; this uniquely identifies a fragment of syntax within a specified Cabal file describing the component.

toConfiguredComponent :: PackageDescription -> ComponentId -> Map PackageName (ComponentId, PackageId) -> ConfiguredComponentMap -> Component -> ConfiguredComponent Source #

Given some ambient environment of package names that are "in scope", looks at the BuildInfo to decide what the packages actually resolve to, and then builds a ConfiguredComponent.