Constructors
BuildInfobuildable :: Boolcomponent is buildable here
buildTools :: [LegacyExeDependency]Tools needed to build this bit.
This is a legacy field that buildToolDepends largely supersedes.
Unless use are very sure what you are doing, use the functions in
Distribution.Simple.BuildToolDependsrather than accessing this field directly.buildToolDepends :: [ExeDependency]Haskell tools needed to build this bit
This field is better than buildTools because it allows one to precisely specify an executable in a package.
Unless use are very sure what you are doing, use the functions in
Distribution.Simple.BuildToolDependsrather than accessing this field directly.cppOptions :: [String]options for pre-processing Haskell code
asmOptions :: [String]options for assembler
cmmOptions :: [String]options for C-- compiler
ccOptions :: [String]options for C compiler
cxxOptions :: [String]options for C++ compiler
ldOptions :: [String]options for linker
hsc2hsOptions :: [String]options for hsc2hs
pkgconfigDepends :: [PkgconfigDependency]pkg-config packages that are used
frameworks :: [String]support frameworks for Mac OS X
extraFrameworkDirs :: [String]extra locations to find frameworks.
asmSources :: [FilePath]Assembly files.
cmmSources :: [FilePath]C-- files.
cSources :: [FilePath]cxxSources :: [FilePath]jsSources :: [FilePath]hsSourceDirs :: [SymbolicPath PackageDir SourceDir]where to look for the Haskell module hierarchy
otherModules :: [ModuleName]non-exposed or non-main modules
virtualModules :: [ModuleName]exposed modules that do not have a source file (e.g.
GHC.Primfromghc-primpackage)autogenModules :: [ModuleName]not present on sdist, Paths_* or user-generated with a custom Setup.hs
defaultLanguage :: Maybe Languagelanguage used when not explicitly specified
otherLanguages :: [Language]other languages used within the package
defaultExtensions :: [Extension]language extensions used by all modules
otherExtensions :: [Extension]other language extensions used within the package
oldExtensions :: [Extension]the old extensions field, treated same as defaultExtensions
extraLibs :: [String]what libraries to link with when compiling a program that uses your package
extraLibsStatic :: [String]what libraries to link with when compiling a program fully statically that uses your package
extraGHCiLibs :: [String]if present, overrides extraLibs when package is loaded with GHCi.
extraBundledLibs :: [String]if present, adds libs to hs-libraries, which become part of the package. Example 1: the Cffi library shipping with the rts, alongside the HSrts-1.0.a,.o,... Example 2: a library that is being built by a foreign tool (e.g. rust) and copied and registered together with this library. The logic on how this library is built will have to be encoded in a custom Setup for now. Otherwise cabal would need to learn how to call arbitrary library builders.
extraLibFlavours :: [String]extraDynLibFlavours :: [String]Hidden Flag. This set of strings will be appended to all dynamic libraries when copying. This is particularly useful with the
rtspackage, where we want different dynamic flavours of the RTS library to be installed.extraLibDirs :: [String]extraLibDirsStatic :: [String]includeDirs :: [FilePath]directories to find .h files
includes :: [FilePath]The .h files to be found in includeDirs
autogenIncludes :: [FilePath]The .h files to be generated (e.g. by
autoconf)installIncludes :: [FilePath].h files to install with the package
options :: PerCompilerFlavor [String]profOptions :: PerCompilerFlavor [String]staticOptions :: PerCompilerFlavor [String]customFieldsBI :: [(String, String)]Custom fields starting with x-, stored in a simple assoc-list.
targetBuildDepends :: [Dependency]Dependencies specific to a library or executable target
mixins :: [Mixin]
Instances14Eq, Data, Ord, Read, Show, Generic, …
Eq BuildInfoDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.BuildInfoData BuildInfoDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.BuildInfoOrd BuildInfoDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.BuildInfoRead BuildInfoDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.BuildInfoShow BuildInfoDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.BuildInfoGeneric BuildInfoDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.BuildInfoSemigroup BuildInfoDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.BuildInfoMonoid BuildInfoDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.BuildInfoNFData BuildInfoDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.BuildInfoBinary BuildInfoDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.BuildInfoStructured BuildInfoDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.BuildInfoHasBuildInfo BuildInfoDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.BuildInfo.LensFromBuildInfo BuildInfoDefined in Cabal-syntax-3.12.1.0 · Distribution.PackageDescription.Parsectype Rep BuildInfo = D1 ('MetaDataDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.BuildInfo"BuildInfo"
"Distribution.Types.BuildInfo"
"Cabal-syntax-3.12.1.0-3adc"
'False) (C1 ('MetaCons"BuildInfo"
'PrefixI 'True) (((((S1 ('MetaSel ('Just"buildable"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"buildTools"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [LegacyExeDependency])) :*: (S1 ('MetaSel ('Just"buildToolDepends"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ExeDependency]) :*: (S1 ('MetaSel ('Just"cppOptions"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]) :*: S1 ('MetaSel ('Just"asmOptions"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String])))) :*: ((S1 ('MetaSel ('Just"cmmOptions"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]) :*: (S1 ('MetaSel ('Just"ccOptions"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]) :*: S1 ('MetaSel ('Just"cxxOptions"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]))) :*: (S1 ('MetaSel ('Just"ldOptions"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]) :*: (S1 ('MetaSel ('Just"hsc2hsOptions"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]) :*: S1 ('MetaSel ('Just"pkgconfigDepends"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [PkgconfigDependency]))))) :*: (((S1 ('MetaSel ('Just"frameworks"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]) :*: (S1 ('MetaSel ('Just"extraFrameworkDirs"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]) :*: S1 ('MetaSel ('Just"asmSources"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FilePath]))) :*: (S1 ('MetaSel ('Just"cmmSources"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FilePath]) :*: (S1 ('MetaSel ('Just"cSources"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FilePath]) :*: S1 ('MetaSel ('Just"cxxSources"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FilePath])))) :*: ((S1 ('MetaSel ('Just"jsSources"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FilePath]) :*: (S1 ('MetaSel ('Just"hsSourceDirs"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SymbolicPath PackageDir SourceDir]) :*: S1 ('MetaSel ('Just"otherModules"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ModuleName]))) :*: (S1 ('MetaSel ('Just"virtualModules"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ModuleName]) :*: (S1 ('MetaSel ('Just"autogenModules"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ModuleName]) :*: S1 ('MetaSel ('Just"defaultLanguage"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Language))))))) :*: ((((S1 ('MetaSel ('Just"otherLanguages"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Language]) :*: S1 ('MetaSel ('Just"defaultExtensions"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Extension])) :*: (S1 ('MetaSel ('Just"otherExtensions"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Extension]) :*: (S1 ('MetaSel ('Just"oldExtensions"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Extension]) :*: S1 ('MetaSel ('Just"extraLibs"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String])))) :*: ((S1 ('MetaSel ('Just"extraLibsStatic"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]) :*: (S1 ('MetaSel ('Just"extraGHCiLibs"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]) :*: S1 ('MetaSel ('Just"extraBundledLibs"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]))) :*: (S1 ('MetaSel ('Just"extraLibFlavours"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]) :*: (S1 ('MetaSel ('Just"extraDynLibFlavours"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]) :*: S1 ('MetaSel ('Just"extraLibDirs"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]))))) :*: (((S1 ('MetaSel ('Just"extraLibDirsStatic"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]) :*: (S1 ('MetaSel ('Just"includeDirs"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FilePath]) :*: S1 ('MetaSel ('Just"includes"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FilePath]))) :*: (S1 ('MetaSel ('Just"autogenIncludes"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FilePath]) :*: (S1 ('MetaSel ('Just"installIncludes"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FilePath]) :*: S1 ('MetaSel ('Just"options"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PerCompilerFlavor [String]))))) :*: ((S1 ('MetaSel ('Just"profOptions"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PerCompilerFlavor [String])) :*: (S1 ('MetaSel ('Just"sharedOptions"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PerCompilerFlavor [String])) :*: S1 ('MetaSel ('Just"staticOptions"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (PerCompilerFlavor [String])))) :*: (S1 ('MetaSel ('Just"customFieldsBI"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(String, String)]) :*: (S1 ('MetaSel ('Just"targetBuildDepends"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Dependency]) :*: S1 ('MetaSel ('Just"mixins"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Mixin]))))))))