Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data PackageBuildDescr = PackageBuildDescr {
- configFlags :: ConfigFlags
- flagAssignment :: FlagAssignment
- componentEnabledSpec :: ComponentRequestedSpec
- compiler :: Compiler
- hostPlatform :: Platform
- pkgDescrFile :: Maybe FilePath
- localPkgDescr :: PackageDescription
- installDirTemplates :: InstallDirTemplates
- withPackageDB :: PackageDBStack
- extraCoverageFor :: [UnitId]
- data ComponentBuildDescr = ComponentBuildDescr {}
- data LocalBuildDescr = LocalBuildDescr {}
- data LocalBuildConfig = LocalBuildConfig {}
- data BuildOptions = BuildOptions {
- withVanillaLib :: Bool
- withProfLib :: Bool
- withSharedLib :: Bool
- withStaticLib :: Bool
- withDynExe :: Bool
- withFullyStaticExe :: Bool
- withProfExe :: Bool
- withProfLibDetail :: ProfDetailLevel
- withProfExeDetail :: ProfDetailLevel
- withOptimization :: OptimisationLevel
- withDebugInfo :: DebugInfoLevel
- withGHCiLib :: Bool
- splitSections :: Bool
- splitObjs :: Bool
- stripExes :: Bool
- stripLibs :: Bool
- exeCoverage :: Bool
- libCoverage :: Bool
- relocatable :: Bool
- buildOptionsConfigFlags :: BuildOptions -> ConfigFlags
The types
data PackageBuildDescr Source #
PackageBuildDescr
contains the information Cabal determines after
performing package-wide configuration of a package, before doing any
per-component configuration.
PackageBuildDescr | |
|
Instances
data ComponentBuildDescr Source #
Information about individual components in a package, determined after the configure step.
ComponentBuildDescr | |
|
Instances
Structured ComponentBuildDescr Source # | |||||
Defined in Distribution.Types.LocalBuildConfig structure :: Proxy ComponentBuildDescr -> Structure Source # structureHash' :: Tagged ComponentBuildDescr MD5 | |||||
Binary ComponentBuildDescr Source # | |||||
Defined in Distribution.Types.LocalBuildConfig put :: ComponentBuildDescr -> Put # get :: Get ComponentBuildDescr # putList :: [ComponentBuildDescr] -> Put # | |||||
Generic ComponentBuildDescr Source # | |||||
Defined in Distribution.Types.LocalBuildConfig
from :: ComponentBuildDescr -> Rep ComponentBuildDescr x # to :: Rep ComponentBuildDescr x -> ComponentBuildDescr # | |||||
Read ComponentBuildDescr Source # | |||||
Show ComponentBuildDescr Source # | |||||
Defined in Distribution.Types.LocalBuildConfig showsPrec :: Int -> ComponentBuildDescr -> ShowS # show :: ComponentBuildDescr -> String # showList :: [ComponentBuildDescr] -> ShowS # | |||||
type Rep ComponentBuildDescr Source # | |||||
Defined in Distribution.Types.LocalBuildConfig type Rep ComponentBuildDescr = D1 ('MetaData "ComponentBuildDescr" "Distribution.Types.LocalBuildConfig" "Cabal-3.11.0.0-7503" 'False) (C1 ('MetaCons "ComponentBuildDescr" 'PrefixI 'True) ((S1 ('MetaSel ('Just "componentGraph") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Graph ComponentLocalBuildInfo)) :*: S1 ('MetaSel ('Just "componentNameMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map ComponentName [ComponentLocalBuildInfo]))) :*: (S1 ('MetaSel ('Just "promisedPkgs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map (PackageName, ComponentName) ComponentId)) :*: S1 ('MetaSel ('Just "installedPkgs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InstalledPackageIndex)))) |
data LocalBuildDescr Source #
'LocalBuildDescr ' contains the information Cabal determines after performing package-wide and per-component configuration of a package.
This information can no longer be changed after that point.
LocalBuildDescr | |
|
Instances
Structured LocalBuildDescr Source # | |||||
Defined in Distribution.Types.LocalBuildConfig structure :: Proxy LocalBuildDescr -> Structure Source # structureHash' :: Tagged LocalBuildDescr MD5 | |||||
Binary LocalBuildDescr Source # | |||||
Defined in Distribution.Types.LocalBuildConfig | |||||
Generic LocalBuildDescr Source # | |||||
Defined in Distribution.Types.LocalBuildConfig
from :: LocalBuildDescr -> Rep LocalBuildDescr x # to :: Rep LocalBuildDescr x -> LocalBuildDescr # | |||||
Read LocalBuildDescr Source # | |||||
Defined in Distribution.Types.LocalBuildConfig | |||||
Show LocalBuildDescr Source # | |||||
Defined in Distribution.Types.LocalBuildConfig showsPrec :: Int -> LocalBuildDescr -> ShowS # show :: LocalBuildDescr -> String # showList :: [LocalBuildDescr] -> ShowS # | |||||
type Rep LocalBuildDescr Source # | |||||
Defined in Distribution.Types.LocalBuildConfig type Rep LocalBuildDescr = D1 ('MetaData "LocalBuildDescr" "Distribution.Types.LocalBuildConfig" "Cabal-3.11.0.0-7503" 'False) (C1 ('MetaCons "LocalBuildDescr" 'PrefixI 'True) (S1 ('MetaSel ('Just "packageBuildDescr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PackageBuildDescr) :*: S1 ('MetaSel ('Just "componentBuildDescr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ComponentBuildDescr))) |
data LocalBuildConfig Source #
LocalBuildConfig
contains options that can be controlled
by the user and serve as inputs to the configuration of a package.
LocalBuildConfig | |
|
Instances
Structured LocalBuildConfig Source # | |||||
Defined in Distribution.Types.LocalBuildConfig structure :: Proxy LocalBuildConfig -> Structure Source # structureHash' :: Tagged LocalBuildConfig MD5 | |||||
Binary LocalBuildConfig Source # | |||||
Defined in Distribution.Types.LocalBuildConfig | |||||
Generic LocalBuildConfig Source # | |||||
Defined in Distribution.Types.LocalBuildConfig
from :: LocalBuildConfig -> Rep LocalBuildConfig x # to :: Rep LocalBuildConfig x -> LocalBuildConfig # | |||||
Read LocalBuildConfig Source # | |||||
Defined in Distribution.Types.LocalBuildConfig | |||||
Show LocalBuildConfig Source # | |||||
Defined in Distribution.Types.LocalBuildConfig showsPrec :: Int -> LocalBuildConfig -> ShowS # show :: LocalBuildConfig -> String # showList :: [LocalBuildConfig] -> ShowS # | |||||
type Rep LocalBuildConfig Source # | |||||
Defined in Distribution.Types.LocalBuildConfig type Rep LocalBuildConfig = D1 ('MetaData "LocalBuildConfig" "Distribution.Types.LocalBuildConfig" "Cabal-3.11.0.0-7503" 'False) (C1 ('MetaCons "LocalBuildConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "extraConfigArgs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]) :*: (S1 ('MetaSel ('Just "withPrograms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProgramDb) :*: S1 ('MetaSel ('Just "withBuildOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuildOptions)))) |
data BuildOptions Source #
BuildOptions
contains configuration options that can be controlled
by the user.
BuildOptions | |
|
Instances
Structured BuildOptions Source # | |||||
Defined in Distribution.Types.LocalBuildConfig structure :: Proxy BuildOptions -> Structure Source # structureHash' :: Tagged BuildOptions MD5 | |||||
Binary BuildOptions Source # | |||||
Defined in Distribution.Types.LocalBuildConfig | |||||
Generic BuildOptions Source # | |||||
Defined in Distribution.Types.LocalBuildConfig
from :: BuildOptions -> Rep BuildOptions x # to :: Rep BuildOptions x -> BuildOptions # | |||||
Read BuildOptions Source # | |||||
Defined in Distribution.Types.LocalBuildConfig readsPrec :: Int -> ReadS BuildOptions # readList :: ReadS [BuildOptions] # | |||||
Show BuildOptions Source # | |||||
Defined in Distribution.Types.LocalBuildConfig showsPrec :: Int -> BuildOptions -> ShowS # show :: BuildOptions -> String # showList :: [BuildOptions] -> ShowS # | |||||
Eq BuildOptions Source # | |||||
Defined in Distribution.Types.LocalBuildConfig (==) :: BuildOptions -> BuildOptions -> Bool # (/=) :: BuildOptions -> BuildOptions -> Bool # | |||||
type Rep BuildOptions Source # | |||||
Defined in Distribution.Types.LocalBuildConfig type Rep BuildOptions = D1 ('MetaData "BuildOptions" "Distribution.Types.LocalBuildConfig" "Cabal-3.11.0.0-7503" 'False) (C1 ('MetaCons "BuildOptions" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "withVanillaLib") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "withProfLib") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "withSharedLib") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "withStaticLib") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just "withDynExe") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "withFullyStaticExe") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "withProfExe") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "withProfLibDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProfDetailLevel) :*: S1 ('MetaSel ('Just "withProfExeDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProfDetailLevel))))) :*: (((S1 ('MetaSel ('Just "withOptimization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OptimisationLevel) :*: S1 ('MetaSel ('Just "withDebugInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DebugInfoLevel)) :*: (S1 ('MetaSel ('Just "withGHCiLib") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "splitSections") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "splitObjs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "stripExes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "stripLibs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "exeCoverage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "libCoverage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "relocatable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))))) |