Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data I = I Ver Loc
- data Loc
- type PackageId = PackageIdentifier
- data PackageIdentifier = PackageIdentifier {
- pkgName :: PackageName
- pkgVersion :: Version
- data PackageName
- mkPackageName :: String -> PackageName
- unPackageName :: PackageName -> String
- data PkgconfigName
- mkPkgconfigName :: String -> PkgconfigName
- unPkgconfigName :: PkgconfigName -> String
- data PI qpn = PI qpn I
- type PN = PackageName
- type QPV = Qualified PV
- instI :: I -> Bool
- makeIndependent :: PN -> QPN
- primaryPP :: PackagePath -> Bool
- setupPP :: PackagePath -> Bool
- showI :: I -> String
- showPI :: PI QPN -> String
- unPN :: PN -> String
Documentation
Location. Info about whether a package is installed or not, and where
exactly it is located. For installed packages, uniquely identifies the
package instance via its PId
.
TODO: More information is needed about the repo.
type PackageId = PackageIdentifier #
data PackageIdentifier #
PackageIdentifier | |
|
Instances
data PackageName #
Instances
mkPackageName :: String -> PackageName #
unPackageName :: PackageName -> String #
data PkgconfigName #
Instances
mkPkgconfigName :: String -> PkgconfigName #
unPkgconfigName :: PkgconfigName -> String #
Package instance. A package name and an instance.
type PN = PackageName Source #
A package name.
makeIndependent :: PN -> QPN Source #
Qualify a target package with its own name so that its dependencies are not required to be consistent with other targets.
primaryPP :: PackagePath -> Bool Source #
Is the package in the primary group of packages. This is used to
determine (1) if we should try to establish stanza preferences
for this goal, and (2) whether or not a user specified --constraint
should apply to this dependency (grep primaryPP
to see the
use sites). In particular this does not include packages pulled in
as setup deps.