We sometimes need to override the .cabal file in the tarball with the newer one from the package index.
Modulecabal-install-solver-3.12.1.0Haskell2010
Distribution.Solver.Types.SourcePackage
- 2 types
- Packagecabal-install-solver-3.12.1.0
- Exports2
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceSourcePackage.hs
A package description along with the location of the package sources.
Constructors
SourcePackagesrcpkgPackageId :: PackageIdsrcpkgDescription :: GenericPackageDescriptionNote, this field is lazy, e.g. when reading in hackage index we parse only what we need, not whole index.
srcpkgSource :: locsrcpkgDescrOverride :: PackageDescriptionOverride
Instances7Eq, Show, Generic, Binary, Structured, Package, …
Eq loc => Eq (SourcePackage loc)Defined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Types.SourcePackageShow loc => Show (SourcePackage loc)Defined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Types.SourcePackageGeneric (SourcePackage loc)Defined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Types.SourcePackageBinary loc => Binary (SourcePackage loc)Defined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Types.SourcePackageStructured loc => Structured (SourcePackage loc)Defined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Types.SourcePackagePackage (SourcePackage a)Defined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Types.SourcePackagetype Rep (SourcePackage loc) = D1 ('MetaDataDefined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Types.SourcePackage"SourcePackage"
"Distribution.Solver.Types.SourcePackage"
"cabal-install-solver-3.12.1.0-582X8xReBAn365xYF5myIO"
'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))))