ContentsIndex
Distribution.Simple.Register
Portability GHC, Hugs
Stability alpha
Maintainer Isaac Jones <ijones@syntaxpolice.org>
Description
Explanation: Perform the ./setup register action. Uses a drop-file for HC-PKG. See also InstalledPackageInfo
Synopsis
register :: PackageDescription -> LocalBuildInfo -> Bool -> IO ()
unregister :: PackageDescription -> LocalBuildInfo -> IO ()
writeInstalledConfig :: PackageDescription -> LocalBuildInfo -> IO ()
removeInstalledConfig :: IO ()
installedPkgConfigFile :: String
Documentation
register
:: PackageDescription
-> LocalBuildInfo
-> BoolInstall in the user's database?
-> IO ()
Be sure to call writeInstalledConfig first. If the --user flag was passed, and ~/.ghc-packages is writable, or can be created, then we use that file, perhaps creating it.
unregister :: PackageDescription -> LocalBuildInfo -> IO ()
writeInstalledConfig :: PackageDescription -> LocalBuildInfo -> IO ()
Register doesn't drop the register info file, it must be done in a separate step.
removeInstalledConfig :: IO ()
installedPkgConfigFile :: String
Produced by Haddock version 0.6