stack-0.1.10.1: The Haskell Tool Stack

Safe HaskellNone
LanguageHaskell2010

Stack.Types.Package

Description

 

Synopsis

Documentation

data Package Source

Some package info.

Constructors

Package 

Fields

Instances

Eq Package Source

Compares the package name.

Methods

(==) :: Package -> Package -> Bool

(/=) :: Package -> Package -> Bool

Ord Package Source

Compares the package name.

Show Package Source 

newtype GetPackageOpts Source

Files that the package depends on, relative to package directory. Argument is the location of the .cabal file

data BuildInfoOpts Source

GHC options based on cabal information and ghc-options.

Constructors

BuildInfoOpts 

Fields

data CabalFileType Source

Files to get for a cabal package.

Constructors

AllFiles 
Modules 

newtype GetPackageFiles Source

Files that the package depends on, relative to package directory. Argument is the location of the .cabal file

data PackageWarning Source

Warning generated when reading a package

Constructors

UnlistedModulesWarning (Path Abs File) (Maybe String) [ModuleName]

Modules found that are not listed in cabal file

data PackageConfig Source

Package build configuration

Constructors

PackageConfig 

Fields

data PackageSource Source

Where the package's source is located: local directory or package index

Constructors

PSLocal LocalPackage 
PSUpstream Version InstallLocation (Map FlagName Bool)

Upstream packages could be installed in either local or snapshot databases; this is what InstallLocation specifies.

class PackageInstallInfo a where Source

Datatype which tells how which version of a package to install and where to install it into

data LocalPackage Source

Information on a locally available package of source code

Constructors

LocalPackage 

Fields

dotCabalModule :: DotCabalDescriptor -> Maybe ModuleName Source

Maybe get the module name from the .cabal descriptor.

dotCabalMain :: DotCabalDescriptor -> Maybe FilePath Source

Maybe get the main name from the .cabal descriptor.

dotCabalCFilePath :: DotCabalPath -> Maybe (Path Abs File) Source

Get the c file path.

installedVersion :: Installed -> Version Source

Get the installed Version.