cabal-install-solver
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Solver.Types.SourcePackage

Synopsis

Documentation

type PackageDescriptionOverride = Maybe ByteString Source #

We sometimes need to override the .cabal file in the tarball with the newer one from the package index.

data SourcePackage loc Source #

A package description along with the location of the package sources.

Constructors

SourcePackage 

Fields

Instances

Instances details
Package (SourcePackage a) Source # 
Instance details

Defined in Distribution.Solver.Types.SourcePackage

Structured loc => Structured (SourcePackage loc) Source # 
Instance details

Defined in Distribution.Solver.Types.SourcePackage

Methods

structure :: Proxy (SourcePackage loc) -> Structure

structureHash' :: Tagged (SourcePackage loc) MD5

Generic (SourcePackage loc) Source # 
Instance details

Defined in Distribution.Solver.Types.SourcePackage

Associated Types

type Rep (SourcePackage loc) :: Type -> Type #

Methods

from :: SourcePackage loc -> Rep (SourcePackage loc) x #

to :: Rep (SourcePackage loc) x -> SourcePackage loc #

Show loc => Show (SourcePackage loc) Source # 
Instance details

Defined in Distribution.Solver.Types.SourcePackage

Binary loc => Binary (SourcePackage loc) Source # 
Instance details

Defined in Distribution.Solver.Types.SourcePackage

Methods

put :: SourcePackage loc -> Put #

get :: Get (SourcePackage loc) #

putList :: [SourcePackage loc] -> Put #

Eq loc => Eq (SourcePackage loc) Source # 
Instance details

Defined in Distribution.Solver.Types.SourcePackage

Methods

(==) :: SourcePackage loc -> SourcePackage loc -> Bool #

(/=) :: SourcePackage loc -> SourcePackage loc -> Bool #

type Rep (SourcePackage loc) Source # 
Instance details

Defined in Distribution.Solver.Types.SourcePackage

type Rep (SourcePackage loc) = D1 ('MetaData "SourcePackage" "Distribution.Solver.Types.SourcePackage" "cabal-install-solver-3.14.1.0-inplace" 'False) (C1 ('MetaCons "SourcePackage" 'PrefixI 'True) ((S1 ('MetaSel ('Just "srcpkgPackageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PackageId) :*: S1 ('MetaSel ('Just "srcpkgDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GenericPackageDescription)) :*: (S1 ('MetaSel ('Just "srcpkgSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 loc) :*: S1 ('MetaSel ('Just "srcpkgDescrOverride") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PackageDescriptionOverride))))