Constructors
LocalUnpackedPackage FilePathAn unpacked package in the given dir, or current dir
LocalTarballPackage FilePathA package as a tarball that's available as a local tarball
RemoteTarballPackage URI localA package as a tarball from a remote URI
RepoTarballPackage Repo PackageId localA package available as a tarball from a repository.
It may be from a local repository or from a remote repository, with a locally cached copy. ie a package available from hackage
RemoteSourceRepoPackage SourceRepoMaybe localA package available from a version control system source repository
Instances8Functor, Eq, Ord, Show, Generic, Binary, …
Functor PackageLocationDefined in cabal-install-3.12.1.0 · Distribution.Client.Types.PackageLocationEq local => Eq (PackageLocation local)Defined in cabal-install-3.12.1.0 · Distribution.Client.Types.PackageLocationOrd local => Ord (PackageLocation local)Defined in cabal-install-3.12.1.0 · Distribution.Client.Types.PackageLocationShow local => Show (PackageLocation local)Defined in cabal-install-3.12.1.0 · Distribution.Client.Types.PackageLocationGeneric (PackageLocation local)Defined in cabal-install-3.12.1.0 · Distribution.Client.Types.PackageLocationBinary local => Binary (PackageLocation local)Defined in cabal-install-3.12.1.0 · Distribution.Client.Types.PackageLocationStructured local => Structured (PackageLocation local)Defined in cabal-install-3.12.1.0 · Distribution.Client.Types.PackageLocationtype Rep (PackageLocation local) = D1 ('MetaDataDefined in cabal-install-3.12.1.0 · Distribution.Client.Types.PackageLocation"PackageLocation"
"Distribution.Client.Types.PackageLocation"
"cabal-install-3.12.1.0-1D90DH9PPem9Tqn79I9vRN"
'False) ((C1 ('MetaCons"LocalUnpackedPackage"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath)) :+: C1 ('MetaCons"LocalTarballPackage"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath))) :+: (C1 ('MetaCons"RemoteTarballPackage"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URI) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 local)) :+: (C1 ('MetaCons"RepoTarballPackage"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Repo) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PackageId) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 local))) :+: C1 ('MetaCons"RemoteSourceRepoPackage"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceRepoMaybe) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 local)))))