cabal-install-3.8.1.0: The command-line interface for Cabal and Hackage.
Safe HaskellNone
LanguageHaskell2010

Distribution.Client.Types.PackageLocation

Synopsis

Documentation

data PackageLocation local Source #

Constructors

LocalUnpackedPackage FilePath

An unpacked package in the given dir, or current dir

LocalTarballPackage FilePath

A package as a tarball that's available as a local tarball

RemoteTarballPackage URI local

A package as a tarball from a remote URI

RepoTarballPackage Repo PackageId local

A 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 local

A package available from a version control system source repository

Instances

Instances details
Functor PackageLocation Source # 
Instance details

Defined in Distribution.Client.Types.PackageLocation

Methods

fmap :: (a -> b) -> PackageLocation a -> PackageLocation b #

(<$) :: a -> PackageLocation b -> PackageLocation a #

Eq local => Eq (PackageLocation local) Source # 
Instance details

Defined in Distribution.Client.Types.PackageLocation

Methods

(==) :: PackageLocation local -> PackageLocation local -> Bool #

(/=) :: PackageLocation local -> PackageLocation local -> Bool #

Ord local => Ord (PackageLocation local) Source # 
Instance details

Defined in Distribution.Client.Types.PackageLocation

Show local => Show (PackageLocation local) Source # 
Instance details

Defined in Distribution.Client.Types.PackageLocation

Generic (PackageLocation local) Source # 
Instance details

Defined in Distribution.Client.Types.PackageLocation

Associated Types

type Rep (PackageLocation local) :: Type -> Type #

Methods

from :: PackageLocation local -> Rep (PackageLocation local) x #

to :: Rep (PackageLocation local) x -> PackageLocation local #

Binary local => Binary (PackageLocation local) Source # 
Instance details

Defined in Distribution.Client.Types.PackageLocation

Methods

put :: PackageLocation local -> Put #

get :: Get (PackageLocation local) #

putList :: [PackageLocation local] -> Put #

Structured local => Structured (PackageLocation local) Source # 
Instance details

Defined in Distribution.Client.Types.PackageLocation

type Rep (PackageLocation local) Source # 
Instance details

Defined in Distribution.Client.Types.PackageLocation

type UnresolvedSourcePackage = SourcePackage UnresolvedPkgLoc Source #

Convenience alias for 'SourcePackage UnresolvedPkgLoc'.