stack-3.3.1: The Haskell Tool Stack
Safe HaskellNone
LanguageGHC2021

Stack.Types.DumpPackage

Synopsis

Documentation

data DumpPackage Source #

Type representing dump information for a single installed package, as output by the ghc-pkg describe command.

Constructors

DumpPackage 

Fields

Instances

Instances details
Read DumpPackage Source # 
Instance details

Defined in Stack.Types.DumpPackage

Show DumpPackage Source # 
Instance details

Defined in Stack.Types.DumpPackage

Methods

showsPrec :: Int -> DumpPackage -> ShowS #

show :: DumpPackage -> String #

showList :: [DumpPackage] -> ShowS #

Eq DumpPackage Source # 
Instance details

Defined in Stack.Types.DumpPackage

data SublibDump Source #

An installed package for a sub-library of a Cabal package has additional fields.

Constructors

SublibDump 

Fields

Instances

Instances details
Read SublibDump Source # 
Instance details

Defined in Stack.Types.DumpPackage

Show SublibDump Source # 
Instance details

Defined in Stack.Types.DumpPackage

Methods

showsPrec :: Int -> SublibDump -> ShowS #

show :: SublibDump -> String #

showList :: [SublibDump] -> ShowS #

Eq SublibDump Source # 
Instance details

Defined in Stack.Types.DumpPackage

type DumpedGlobalPackage = DumpPackage Source #

Type synonym representing dump information for a single installed package in the global package database.

sublibParentPkgId :: DumpPackage -> Maybe PackageIdentifier Source #

If the given DumpPackage is for a sub-library of a Cabal package, yields the package identifier of the Cabal package.