HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

ModuleCabal-syntax-3.18.1.0Haskell2010

Distribution.Types.BuildType

  • 1 type
  • 1 value
datadata BuildType
#

The type of build system used by this package.

Constructors

  • Simple

    calls Distribution.Simple.defaultMain

  • Configure

    calls Distribution.Simple.defaultMainWithHooks defaultUserHooks, which invokes configure to generate additional build information used by later phases.

  • Make

    build-type: Make is no longer functional, but we must keep parsing old Cabal files, even if only to throw an error later.

  • Custom

    uses user-supplied Setup.hs or Setup.lhs (default)

  • Hooks
Instances12Eq, Data, Ord, Read, Show, Generic, …