Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data BuildInfo
- class HasBuildInfo a where
- buildInfo :: Lens' a BuildInfo
- buildable :: Lens' a Bool
- buildTools :: Lens' a [LegacyExeDependency]
- buildToolDepends :: Lens' a [ExeDependency]
- cppOptions :: Lens' a [String]
- asmOptions :: Lens' a [String]
- cmmOptions :: Lens' a [String]
- ccOptions :: Lens' a [String]
- cxxOptions :: Lens' a [String]
- ldOptions :: Lens' a [String]
- hsc2hsOptions :: Lens' a [String]
- pkgconfigDepends :: Lens' a [PkgconfigDependency]
- frameworks :: Lens' a [RelativePath Framework File]
- extraFrameworkDirs :: Lens' a [SymbolicPath Pkg (Dir Framework)]
- asmSources :: Lens' a [SymbolicPath Pkg File]
- cmmSources :: Lens' a [SymbolicPath Pkg File]
- cSources :: Lens' a [SymbolicPath Pkg File]
- cxxSources :: Lens' a [SymbolicPath Pkg File]
- jsSources :: Lens' a [SymbolicPath Pkg File]
- hsSourceDirs :: Lens' a [SymbolicPath Pkg (Dir Source)]
- otherModules :: Lens' a [ModuleName]
- virtualModules :: Lens' a [ModuleName]
- autogenModules :: Lens' a [ModuleName]
- defaultLanguage :: Lens' a (Maybe Language)
- otherLanguages :: Lens' a [Language]
- defaultExtensions :: Lens' a [Extension]
- otherExtensions :: Lens' a [Extension]
- oldExtensions :: Lens' a [Extension]
- extraLibs :: Lens' a [String]
- extraLibsStatic :: Lens' a [String]
- extraGHCiLibs :: Lens' a [String]
- extraBundledLibs :: Lens' a [String]
- extraLibFlavours :: Lens' a [String]
- extraDynLibFlavours :: Lens' a [String]
- extraLibDirs :: Lens' a [SymbolicPath Pkg (Dir Lib)]
- extraLibDirsStatic :: Lens' a [SymbolicPath Pkg (Dir Lib)]
- includeDirs :: Lens' a [SymbolicPath Pkg (Dir Include)]
- includes :: Lens' a [SymbolicPath Include File]
- autogenIncludes :: Lens' a [RelativePath Include File]
- installIncludes :: Lens' a [RelativePath Include File]
- options :: Lens' a (PerCompilerFlavor [String])
- profOptions :: Lens' a (PerCompilerFlavor [String])
- sharedOptions :: Lens' a (PerCompilerFlavor [String])
- staticOptions :: Lens' a (PerCompilerFlavor [String])
- customFieldsBI :: Lens' a [(String, String)]
- targetBuildDepends :: Lens' a [Dependency]
- mixins :: Lens' a [Mixin]
- class HasBuildInfos a where
Documentation
Instances
HasBuildInfo BuildInfo Source # | |
Defined in Distribution.Types.BuildInfo.Lens buildInfo :: Lens' BuildInfo BuildInfo Source # buildable :: Lens' BuildInfo Bool Source # buildTools :: Lens' BuildInfo [LegacyExeDependency] Source # buildToolDepends :: Lens' BuildInfo [ExeDependency] Source # cppOptions :: Lens' BuildInfo [String] Source # asmOptions :: Lens' BuildInfo [String] Source # cmmOptions :: Lens' BuildInfo [String] Source # ccOptions :: Lens' BuildInfo [String] Source # cxxOptions :: Lens' BuildInfo [String] Source # ldOptions :: Lens' BuildInfo [String] Source # hsc2hsOptions :: Lens' BuildInfo [String] Source # pkgconfigDepends :: Lens' BuildInfo [PkgconfigDependency] Source # frameworks :: Lens' BuildInfo [RelativePath Framework 'File] Source # extraFrameworkDirs :: Lens' BuildInfo [SymbolicPath Pkg ('Dir Framework)] Source # asmSources :: Lens' BuildInfo [SymbolicPath Pkg 'File] Source # cmmSources :: Lens' BuildInfo [SymbolicPath Pkg 'File] Source # cSources :: Lens' BuildInfo [SymbolicPath Pkg 'File] Source # cxxSources :: Lens' BuildInfo [SymbolicPath Pkg 'File] Source # jsSources :: Lens' BuildInfo [SymbolicPath Pkg 'File] Source # hsSourceDirs :: Lens' BuildInfo [SymbolicPath Pkg ('Dir Source)] Source # otherModules :: Lens' BuildInfo [ModuleName] Source # virtualModules :: Lens' BuildInfo [ModuleName] Source # autogenModules :: Lens' BuildInfo [ModuleName] Source # defaultLanguage :: Lens' BuildInfo (Maybe Language) Source # otherLanguages :: Lens' BuildInfo [Language] Source # defaultExtensions :: Lens' BuildInfo [Extension] Source # otherExtensions :: Lens' BuildInfo [Extension] Source # oldExtensions :: Lens' BuildInfo [Extension] Source # extraLibs :: Lens' BuildInfo [String] Source # extraLibsStatic :: Lens' BuildInfo [String] Source # extraGHCiLibs :: Lens' BuildInfo [String] Source # extraBundledLibs :: Lens' BuildInfo [String] Source # extraLibFlavours :: Lens' BuildInfo [String] Source # extraDynLibFlavours :: Lens' BuildInfo [String] Source # extraLibDirs :: Lens' BuildInfo [SymbolicPath Pkg ('Dir Lib)] Source # extraLibDirsStatic :: Lens' BuildInfo [SymbolicPath Pkg ('Dir Lib)] Source # includeDirs :: Lens' BuildInfo [SymbolicPath Pkg ('Dir Include)] Source # includes :: Lens' BuildInfo [SymbolicPath Include 'File] Source # autogenIncludes :: Lens' BuildInfo [RelativePath Include 'File] Source # installIncludes :: Lens' BuildInfo [RelativePath Include 'File] Source # options :: Lens' BuildInfo (PerCompilerFlavor [String]) Source # profOptions :: Lens' BuildInfo (PerCompilerFlavor [String]) Source # sharedOptions :: Lens' BuildInfo (PerCompilerFlavor [String]) Source # staticOptions :: Lens' BuildInfo (PerCompilerFlavor [String]) Source # customFieldsBI :: Lens' BuildInfo [(String, String)] Source # | |
Structured BuildInfo Source # | |
Defined in Distribution.Types.BuildInfo | |
Data BuildInfo Source # | |
Defined in Distribution.Types.BuildInfo gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BuildInfo -> c BuildInfo gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BuildInfo toConstr :: BuildInfo -> Constr dataTypeOf :: BuildInfo -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BuildInfo) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BuildInfo) gmapT :: (forall b. Data b => b -> b) -> BuildInfo -> BuildInfo gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BuildInfo -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BuildInfo -> r gmapQ :: (forall d. Data d => d -> u) -> BuildInfo -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> BuildInfo -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> BuildInfo -> m BuildInfo gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BuildInfo -> m BuildInfo gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BuildInfo -> m BuildInfo | |
Monoid BuildInfo Source # | |
Semigroup BuildInfo Source # | |
Generic BuildInfo Source # | |
Read BuildInfo Source # | |
Show BuildInfo Source # | |
Binary BuildInfo Source # | |
NFData BuildInfo Source # | |
Defined in Distribution.Types.BuildInfo | |
Eq BuildInfo Source # | |
Ord BuildInfo Source # | |
Defined in Distribution.Types.BuildInfo | |
type Rep BuildInfo Source # | |
Defined in Distribution.Types.BuildInfo type Rep BuildInfo = D1 ('MetaData "BuildInfo" "Distribution.Types.BuildInfo" "Cabal-syntax-3.13.0.0-inplace" '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 [RelativePath Framework 'File]) :*: (S1 ('MetaSel ('Just "extraFrameworkDirs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SymbolicPath Pkg ('Dir Framework)]) :*: S1 ('MetaSel ('Just "asmSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SymbolicPath Pkg 'File]))) :*: (S1 ('MetaSel ('Just "cmmSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SymbolicPath Pkg 'File]) :*: (S1 ('MetaSel ('Just "cSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SymbolicPath Pkg 'File]) :*: S1 ('MetaSel ('Just "cxxSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SymbolicPath Pkg 'File])))) :*: ((S1 ('MetaSel ('Just "jsSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SymbolicPath Pkg 'File]) :*: (S1 ('MetaSel ('Just "hsSourceDirs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SymbolicPath Pkg ('Dir Source)]) :*: 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 [SymbolicPath Pkg ('Dir Lib)]))))) :*: (((S1 ('MetaSel ('Just "extraLibDirsStatic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SymbolicPath Pkg ('Dir Lib)]) :*: (S1 ('MetaSel ('Just "includeDirs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SymbolicPath Pkg ('Dir Include)]) :*: S1 ('MetaSel ('Just "includes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SymbolicPath Include 'File]))) :*: (S1 ('MetaSel ('Just "autogenIncludes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [RelativePath Include 'File]) :*: (S1 ('MetaSel ('Just "installIncludes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [RelativePath Include 'File]) :*: 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])))))))) |
class HasBuildInfo a where Source #
Classy lenses for BuildInfo
.
buildInfo :: Lens' a BuildInfo Source #
buildable :: Lens' a Bool Source #
buildTools :: Lens' a [LegacyExeDependency] Source #
buildToolDepends :: Lens' a [ExeDependency] Source #
cppOptions :: Lens' a [String] Source #
asmOptions :: Lens' a [String] Source #
cmmOptions :: Lens' a [String] Source #
ccOptions :: Lens' a [String] Source #
cxxOptions :: Lens' a [String] Source #
ldOptions :: Lens' a [String] Source #
hsc2hsOptions :: Lens' a [String] Source #
pkgconfigDepends :: Lens' a [PkgconfigDependency] Source #
frameworks :: Lens' a [RelativePath Framework File] Source #
extraFrameworkDirs :: Lens' a [SymbolicPath Pkg (Dir Framework)] Source #
asmSources :: Lens' a [SymbolicPath Pkg File] Source #
cmmSources :: Lens' a [SymbolicPath Pkg File] Source #
cSources :: Lens' a [SymbolicPath Pkg File] Source #
cxxSources :: Lens' a [SymbolicPath Pkg File] Source #
jsSources :: Lens' a [SymbolicPath Pkg File] Source #
hsSourceDirs :: Lens' a [SymbolicPath Pkg (Dir Source)] Source #
otherModules :: Lens' a [ModuleName] Source #
virtualModules :: Lens' a [ModuleName] Source #
autogenModules :: Lens' a [ModuleName] Source #
defaultLanguage :: Lens' a (Maybe Language) Source #
otherLanguages :: Lens' a [Language] Source #
defaultExtensions :: Lens' a [Extension] Source #
otherExtensions :: Lens' a [Extension] Source #
oldExtensions :: Lens' a [Extension] Source #
extraLibs :: Lens' a [String] Source #
extraLibsStatic :: Lens' a [String] Source #
extraGHCiLibs :: Lens' a [String] Source #
extraBundledLibs :: Lens' a [String] Source #
extraLibFlavours :: Lens' a [String] Source #
extraDynLibFlavours :: Lens' a [String] Source #
extraLibDirs :: Lens' a [SymbolicPath Pkg (Dir Lib)] Source #
extraLibDirsStatic :: Lens' a [SymbolicPath Pkg (Dir Lib)] Source #
includeDirs :: Lens' a [SymbolicPath Pkg (Dir Include)] Source #
includes :: Lens' a [SymbolicPath Include File] Source #
autogenIncludes :: Lens' a [RelativePath Include File] Source #
installIncludes :: Lens' a [RelativePath Include File] Source #
options :: Lens' a (PerCompilerFlavor [String]) Source #
profOptions :: Lens' a (PerCompilerFlavor [String]) Source #
sharedOptions :: Lens' a (PerCompilerFlavor [String]) Source #
staticOptions :: Lens' a (PerCompilerFlavor [String]) Source #
customFieldsBI :: Lens' a [(String, String)] Source #
targetBuildDepends :: Lens' a [Dependency] Source #
Instances
class HasBuildInfos a where Source #