Distribution.Client.Types.ReadyPackage

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

Safe Haskell | None
Language | Haskell2010

Distribution.Client.Types.ReadyPackage

Synopsis

- newtype GenericReadyPackage srcpkg = ReadyPackage srcpkg
- type ReadyPackage = GenericReadyPackage (ConfiguredPackage UnresolvedPkgLoc)

# Documentation

newtype GenericReadyPackage srcpkg #

Like `ConfiguredPackage`, but with all dependencies guaranteed to be installed already, hence itself ready to be installed.

Constructors

ReadyPackage srcpkg |

#### Instances

Instances details

IsNode srcpkg => IsNode (GenericReadyPackage srcpkg) # |
Instance details Defined in Distribution.Client.Types.ReadyPackage Associated Types
type Key (GenericReadyPackage srcpkg) |
Instance details Defined in Distribution.Client.Types.ReadyPackage type Key (GenericReadyPackage srcpkg) = Key srcpkg
Methods nodeKey :: GenericReadyPackage srcpkg -> Key (GenericReadyPackage srcpkg) # nodeNeighbors :: GenericReadyPackage srcpkg -> [Key (GenericReadyPackage srcpkg)] #
HasMungedPackageId srcpkg => HasMungedPackageId (GenericReadyPackage srcpkg) # |
Instance details Defined in Distribution.Client.Types.ReadyPackage Methods mungedId :: GenericReadyPackage srcpkg -> MungedPackageId #
HasUnitId srcpkg => HasUnitId (GenericReadyPackage srcpkg) # |
Instance details Defined in Distribution.Client.Types.ReadyPackage Methods installedUnitId :: GenericReadyPackage srcpkg -> UnitId #
Package srcpkg => Package (GenericReadyPackage srcpkg) # |
Instance details Defined in Distribution.Client.Types.ReadyPackage Methods packageId :: GenericReadyPackage srcpkg -> PackageIdentifier #
PackageInstalled srcpkg => PackageInstalled (GenericReadyPackage srcpkg) # |
Instance details Defined in Distribution.Client.Types.ReadyPackage Methods installedDepends :: GenericReadyPackage srcpkg -> [UnitId] #
Binary srcpkg => Binary (GenericReadyPackage srcpkg) # |
Instance details Defined in Distribution.Client.Types.ReadyPackage Methods put :: GenericReadyPackage srcpkg -> Put # get :: Get (GenericReadyPackage srcpkg) # putList :: [GenericReadyPackage srcpkg] -> Put #
PackageFixedDeps srcpkg => PackageFixedDeps (GenericReadyPackage srcpkg) # |
Instance details Defined in Distribution.Client.Types.ReadyPackage Methods depends :: GenericReadyPackage srcpkg -> ComponentDeps [UnitId] #
Generic (GenericReadyPackage srcpkg) # |
Instance details Defined in Distribution.Client.Types.ReadyPackage Associated Types
type Rep (GenericReadyPackage srcpkg) |
Instance details Defined in Distribution.Client.Types.ReadyPackage type Rep (GenericReadyPackage srcpkg) = D1 ('MetaData "GenericReadyPackage" "Distribution.Client.Types.ReadyPackage" "cabal-install-3.12.1.0-G554PkJj2SpDqyarXp9tbt" 'True) (C1 ('MetaCons "ReadyPackage" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 srcpkg)))
Methods from :: GenericReadyPackage srcpkg -> Rep (GenericReadyPackage srcpkg) x # to :: Rep (GenericReadyPackage srcpkg) x -> GenericReadyPackage srcpkg #
Show srcpkg => Show (GenericReadyPackage srcpkg) # |
Instance details Defined in Distribution.Client.Types.ReadyPackage Methods showsPrec :: Int -> GenericReadyPackage srcpkg -> ShowS # show :: GenericReadyPackage srcpkg -> String # showList :: [GenericReadyPackage srcpkg] -> ShowS #
Eq srcpkg => Eq (GenericReadyPackage srcpkg) # |
Instance details Defined in Distribution.Client.Types.ReadyPackage Methods (==) :: GenericReadyPackage srcpkg -> GenericReadyPackage srcpkg -> Bool # (/=) :: GenericReadyPackage srcpkg -> GenericReadyPackage srcpkg -> Bool #
type Key (GenericReadyPackage srcpkg) # |
Instance details Defined in Distribution.Client.Types.ReadyPackage type Key (GenericReadyPackage srcpkg) = Key srcpkg
type Rep (GenericReadyPackage srcpkg) # |
Instance details Defined in Distribution.Client.Types.ReadyPackage type Rep (GenericReadyPackage srcpkg) = D1 ('MetaData "GenericReadyPackage" "Distribution.Client.Types.ReadyPackage" "cabal-install-3.12.1.0-G554PkJj2SpDqyarXp9tbt" 'True) (C1 ('MetaCons "ReadyPackage" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 srcpkg)))

type ReadyPackage = GenericReadyPackage (ConfiguredPackage UnresolvedPkgLoc) #