Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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 #