HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulecabal-install-3.12.1.0Haskell2010

Distribution.Client.CmdConfigure

cabal-install CLI command: configure

  • 3 values
valueconfigureAction :: NixStyleFlags () -> [String] -> GlobalFlags -> IO ()
#

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