cabal-install-3.10.1.0: The command-line interface for Cabal and Hackage.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Client.CmdConfigure

Description

cabal-install CLI command: configure

Synopsis

Documentation

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