| Cabal-1.2.3.0: A framework for packaging Haskell software | Contents | Index |
|
Distribution.Simple.GHC.PackageConfig | Portability | portable | Stability | alpha | Maintainer | libraries@haskell.org |
|
|
|
Description |
Explanation: Performs registration for GHC. Specific to
ghc-pkg. Creates a GHC package config file. See also
build, etc.
|
|
Synopsis |
|
|
|
Documentation |
|
data GHCPackageConfig |
|
|
mkGHCPackageConfig :: PackageDescription -> LocalBuildInfo -> GHCPackageConfig |
|
defaultGHCPackageConfig :: GHCPackageConfig |
|
showGHCPackageConfig :: GHCPackageConfig -> String |
|
localPackageConfig :: IO FilePath |
Where ghc versions < 6.3 keeps the --user files.
|return the file, whether it exists, and whether it's readable
|
|
maybeCreateLocalPackageConfig |
:: IO Bool | success?
| If the package file doesn't exist, we should try to create it. If
it already exists, do nothing and return true. This does not take
into account whether it is readable or writeable.
|
|
|
canWriteLocalPackageConfig :: IO Bool |
Check for write permission on the localPackageConfig
|
|
canReadLocalPackageConfig :: IO Bool |
Check for read permission on the localPackageConfig
|
|
Produced by Haddock version 0.8 |