| Haskell Core Libraries (Cabal package) | Contents | Index
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 Distribution.InstalledPackageInfo.
Synopsis
register :: PackageDescription -> LocalBuildInfo -> RegisterFlags -> IO ()
unregister :: PackageDescription -> LocalBuildInfo -> RegisterFlags -> IO ()
writeInstalledConfig :: PackageDescription -> LocalBuildInfo -> IO ()
removeInstalledConfig :: IO ()
installedPkgConfigFile :: String
regScriptLocation :: FilePath
unregScriptLocation :: FilePath
Documentation
register
:: PackageDescription |
-> LocalBuildInfo |
-> RegisterFlags | Install in the user's database?; verbose
-> 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 -> RegisterFlags -> 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
regScriptLocation :: FilePath
unregScriptLocation :: FilePath
Produced by Haddock version 0.7