| Safe Haskell | None |
|---|
Distribution.Client.Dynamic.LocalBuildInfo
- data PackageDB
- = UserDB
- | GlobalDB
- | SpecificDB FilePath
- packageDBs :: Query LocalBuildInfo [PackageDB]
- buildDir :: Selector LocalBuildInfo String
- localPkgDesc :: Selector LocalBuildInfo PackageDescription
Documentation
A package db is either the user package db (often at ~.ghcghc-....), the global package
or a specific file or directory.
Constructors
| UserDB | |
| GlobalDB | |
| SpecificDB FilePath |
packageDBs :: Query LocalBuildInfo [PackageDB]Source
Get the package dbs that ghc will use when compiling this package.
buildDir :: Selector LocalBuildInfo StringSource
Returns the builddir of a LocalBuildInfo. Often, this will just be dist.
localPkgDesc :: Selector LocalBuildInfo PackageDescriptionSource
Returns the package description included in a local build info.