| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Distribution.Client.CmdConfigure
Description
cabal-install CLI command: configure
Synopsis
- configureCommand :: CommandUI (NixStyleFlags ())
- configureAction :: NixStyleFlags () -> [String] -> GlobalFlags -> IO ()
- configureAction' :: NixStyleFlags () -> [String] -> GlobalFlags -> IO (ProjectBaseContext, ProjectConfig)
Documentation
configureCommand :: CommandUI (NixStyleFlags ()) Source #
configureAction :: NixStyleFlags () -> [String] -> GlobalFlags -> IO () Source #
To a first approximation, the configure just runs the first phase of
the build command where we bring the install plan up to date (thus
checking that it's possible).
The only difference is that configure also allows the user to specify
some extra config flags which we save in the file cabal.project.local.
For more details on how this works, see the module Distribution.Client.ProjectOrchestration
configureAction' :: NixStyleFlags () -> [String] -> GlobalFlags -> IO (ProjectBaseContext, ProjectConfig) Source #