Distribution.Solver.Types.SolverPackage

cabal-install-solver-3.12.1.0: The command-line interface for Cabal and Hackage.

Safe Haskell | None
Language | Haskell2010

Distribution.Solver.Types.SolverPackage

Synopsis

- data SolverPackage loc = SolverPackage {
  - solverPkgSource :: SourcePackage loc
  - solverPkgFlags :: FlagAssignment
  - solverPkgStanzas :: OptionalStanzaSet
  - solverPkgLibDeps :: ComponentDeps [SolverId]
  - solverPkgExeDeps :: ComponentDeps [SolverId]
  }

# Documentation

data SolverPackage loc #

A `SolverPackage` is a package specified by the dependency solver. It will get elaborated into a `ConfiguredPackage` or even an `ElaboratedConfiguredPackage`.

NB: `SolverPackage`s are essentially always with `UnresolvedPkgLoc`, but for symmetry we have the parameter. (Maybe it can be removed.)

Constructors

SolverPackage |
Fields solverPkgSource :: SourcePackage loc solverPkgFlags :: FlagAssignment solverPkgStanzas :: OptionalStanzaSet solverPkgLibDeps :: ComponentDeps [SolverId] solverPkgExeDeps :: ComponentDeps [SolverId]

#### Instances

Instances details

Package (SolverPackage loc) # |
Instance details Defined in Distribution.Solver.Types.SolverPackage Methods packageId :: SolverPackage loc -> PackageIdentifier #
Structured loc => Structured (SolverPackage loc) # |
Instance details Defined in Distribution.Solver.Types.SolverPackage Methods structure :: Proxy (SolverPackage loc) -> Structure # structureHash' :: Tagged (SolverPackage loc) MD5
Binary loc => Binary (SolverPackage loc) # |
Instance details Defined in Distribution.Solver.Types.SolverPackage Methods put :: SolverPackage loc -> Put # get :: Get (SolverPackage loc) # putList :: [SolverPackage loc] -> Put #
Generic (SolverPackage loc) # |
Instance details Defined in Distribution.Solver.Types.SolverPackage Associated Types
type Rep (SolverPackage loc) |
Instance details Defined in Distribution.Solver.Types.SolverPackage type Rep (SolverPackage loc) = D1 ('MetaData "SolverPackage" "Distribution.Solver.Types.SolverPackage" "cabal-install-solver-3.12.1.0-BcLJX5rVQuejx1qrKAH5j" 'False) (C1 ('MetaCons "SolverPackage" 'PrefixI 'True) ((S1 ('MetaSel ('Just "solverPkgSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SourcePackage loc)) :*: S1 ('MetaSel ('Just "solverPkgFlags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FlagAssignment)) :*: (S1 ('MetaSel ('Just "solverPkgStanzas") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OptionalStanzaSet) :*: (S1 ('MetaSel ('Just "solverPkgLibDeps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ComponentDeps [SolverId])) :*: S1 ('MetaSel ('Just "solverPkgExeDeps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ComponentDeps [SolverId]))))))
Methods from :: SolverPackage loc -> Rep (SolverPackage loc) x # to :: Rep (SolverPackage loc) x -> SolverPackage loc #
Show loc => Show (SolverPackage loc) # |
Instance details Defined in Distribution.Solver.Types.SolverPackage Methods showsPrec :: Int -> SolverPackage loc -> ShowS # show :: SolverPackage loc -> String # showList :: [SolverPackage loc] -> ShowS #
Eq loc => Eq (SolverPackage loc) # |
Instance details Defined in Distribution.Solver.Types.SolverPackage Methods (==) :: SolverPackage loc -> SolverPackage loc -> Bool # (/=) :: SolverPackage loc -> SolverPackage loc -> Bool #
type Rep (SolverPackage loc) # |
Instance details Defined in Distribution.Solver.Types.SolverPackage type Rep (SolverPackage loc) = D1 ('MetaData "SolverPackage" "Distribution.Solver.Types.SolverPackage" "cabal-install-solver-3.12.1.0-BcLJX5rVQuejx1qrKAH5j" 'False) (C1 ('MetaCons "SolverPackage" 'PrefixI 'True) ((S1 ('MetaSel ('Just "solverPkgSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SourcePackage loc)) :*: S1 ('MetaSel ('Just "solverPkgFlags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FlagAssignment)) :*: (S1 ('MetaSel ('Just "solverPkgStanzas") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OptionalStanzaSet) :*: (S1 ('MetaSel ('Just "solverPkgLibDeps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ComponentDeps [SolverId])) :*: S1 ('MetaSel ('Just "solverPkgExeDeps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ComponentDeps [SolverId]))))))