An index contains information about package instances. This is a nested dictionary. Package names are mapped to instances, which in turn is mapped to info.
Modulecabal-install-solver-3.12.1.0Haskell2010
Distribution.Solver.Modular.Index
- 5 types
- 2 values
- Packagecabal-install-solver-3.12.1.0
- Exports7
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceIndex.hs
Info associated with a package instance. Currently, dependencies, component names, flags and failure reasons. The component map records whether any components are unbuildable in the current environment (compiler, os, arch, and global flag constraints). Packages that have a failure reason recorded for them are disabled globally, for reasons external to the solver. We currently use this for shadowing which essentially is a GHC limitation, and for installed packages that are broken.
Constructors
Info associated with each library and executable in a package instance.
Constructors
Instances1Show
Show ComponentInfoDefined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Modular.Index
Whether a component is made unbuildable by a "buildable: False" field.
Constructors
Instances2Eq, Show
Eq IsBuildableDefined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Modular.IndexShow IsBuildableDefined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Modular.Index