| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Stackage.Install
Description
Functionality for downloading packages securely for cabal's usage.
- install :: Settings -> [String] -> IO ExitCode
 - download :: Foldable f => Settings -> f (String, String) -> IO ()
 - data Settings
 - defaultSettings :: Settings
 - setGetManager :: IO Manager -> Settings -> Settings
 - setPackageLocation :: IO (String -> String -> FilePath) -> Settings -> Settings
 - defaultPackageLocation :: IO (String -> String -> FilePath)
 - setIndexLocation :: IO FilePath -> Settings -> Settings
 - defaultIndexLocation :: IO FilePath
 
Documentation
install :: Settings -> [String] -> IO ExitCode Source #
Run cabal install with --dry-run, determine necessary dependencies, download them, and rerun cabal install without --dry-run.
Since 0.1.0.0
download :: Foldable f => Settings -> f (String, String) -> IO () Source #
Download the given name,version pairs into the directory expected by cabal.
Since 0.1.0.0
defaultSettings :: Settings Source #
Default value for Settings.
Since 0.1.0.0
setGetManager :: IO Manager -> Settings -> Settings Source #
Set how to get the connection manager
Default: newManager tlsManagerSettings
Since 0.1.1.0
defaultPackageLocation :: IO (String -> String -> FilePath) Source #
Get the location that a package name/package version combination is stored on the filesystem.
~.cabalpackageshackage.haskell.orgnameversionname-version.tar.gz
Since 0.1.1.0
defaultIndexLocation :: IO FilePath Source #
Get the location that the 00-index.tar file is stored.
~.cabalpackageshackage.haskell.org00-index.tar
Since 0.1.1.0