Distribution.Types.BuildInfo.Lens

Cabal-2.4.0.1: A framework for packaging Haskell software

Safe Haskell | None
Language | Haskell2010

Distribution.Types.BuildInfo.Lens

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]
  - pkgconfigDepends :: Lens' a [PkgconfigDependency]
  - frameworks :: Lens' a [String]
  - extraFrameworkDirs :: Lens' a [String]
  - asmSources :: Lens' a [FilePath]
  - cmmSources :: Lens' a [FilePath]
  - cSources :: Lens' a [FilePath]
  - cxxSources :: Lens' a [FilePath]
  - jsSources :: Lens' a [FilePath]
  - hsSourceDirs :: Lens' a [FilePath]
  - 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]
  - extraGHCiLibs :: Lens' a [String]
  - extraBundledLibs :: Lens' a [String]
  - extraLibFlavours :: Lens' a [String]
  - extraLibDirs :: Lens' a [String]
  - includeDirs :: Lens' a [FilePath]
  - includes :: Lens' a [FilePath]
  - installIncludes :: Lens' a [FilePath]
  - options :: Lens' a [(CompilerFlavor, [String])]
  - profOptions :: Lens' a [(CompilerFlavor, [String])]
  - sharedOptions :: Lens' a [(CompilerFlavor, [String])]
  - staticOptions :: Lens' a [(CompilerFlavor, [String])]
  - customFieldsBI :: Lens' a [(String, String)]
  - targetBuildDepends :: Lens' a [Dependency]
  - mixins :: Lens' a [Mixin]
- class HasBuildInfos a where
  - traverseBuildInfos :: Traversal' a BuildInfo

# Documentation

data BuildInfo #

Instances

Eq BuildInfo # |
Instance details Defined in Distribution.Types.BuildInfo Methods (==) :: BuildInfo -> BuildInfo -> Bool # (/=) :: BuildInfo -> BuildInfo -> Bool #
Data BuildInfo # |
Instance details Defined in Distribution.Types.BuildInfo Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BuildInfo -> c BuildInfo Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BuildInfo Source # toConstr :: BuildInfo -> Constr Source # dataTypeOf :: BuildInfo -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BuildInfo) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BuildInfo) Source # gmapT :: (forall b. Data b => b -> b) -> BuildInfo -> BuildInfo Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BuildInfo -> r Source # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BuildInfo -> r Source # gmapQ :: (forall d. Data d => d -> u) -> BuildInfo -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> BuildInfo -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> BuildInfo -> m BuildInfo Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BuildInfo -> m BuildInfo Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BuildInfo -> m BuildInfo Source #
Read BuildInfo # |
Instance details Defined in Distribution.Types.BuildInfo Methods readsPrec :: Int -> ReadS BuildInfo Source # readList :: ReadS [BuildInfo] Source # readPrec :: ReadPrec BuildInfo Source # readListPrec :: ReadPrec [BuildInfo] Source #
Show BuildInfo # |
Instance details Defined in Distribution.Types.BuildInfo Methods showsPrec :: Int -> BuildInfo -> ShowS Source # show :: BuildInfo -> String Source # showList :: [BuildInfo] -> ShowS Source #
Generic BuildInfo # |
Instance details Defined in Distribution.Types.BuildInfo Associated Types type Rep BuildInfo :: Type -> Type Source # Methods from :: BuildInfo -> Rep BuildInfo x Source # to :: Rep BuildInfo x -> BuildInfo Source #
Semigroup BuildInfo # |
Instance details Defined in Distribution.Types.BuildInfo Methods (<>) :: BuildInfo -> BuildInfo -> BuildInfo Source # sconcat :: NonEmpty BuildInfo -> BuildInfo Source # stimes :: Integral b => b -> BuildInfo -> BuildInfo Source #
Monoid BuildInfo # |
Instance details Defined in Distribution.Types.BuildInfo Methods mempty :: BuildInfo Source # mappend :: BuildInfo -> BuildInfo -> BuildInfo Source # mconcat :: [BuildInfo] -> BuildInfo Source #
Binary BuildInfo # |
Instance details Defined in Distribution.Types.BuildInfo Methods put :: BuildInfo -> Put Source # get :: Get BuildInfo Source # putList :: [BuildInfo] -> Put Source #
NFData BuildInfo # |
Instance details Defined in Distribution.Types.BuildInfo Methods rnf :: BuildInfo -> () Source #
HasBuildInfo BuildInfo # |
Instance details Defined in Distribution.Types.BuildInfo.Lens Methods buildInfo :: Lens' BuildInfo BuildInfo # buildable :: Lens' BuildInfo Bool # buildTools :: Lens' BuildInfo [LegacyExeDependency] # buildToolDepends :: Lens' BuildInfo [ExeDependency] # cppOptions :: Lens' BuildInfo [String] # asmOptions :: Lens' BuildInfo [String] # cmmOptions :: Lens' BuildInfo [String] # ccOptions :: Lens' BuildInfo [String] # cxxOptions :: Lens' BuildInfo [String] # ldOptions :: Lens' BuildInfo [String] # pkgconfigDepends :: Lens' BuildInfo [PkgconfigDependency] # frameworks :: Lens' BuildInfo [String] # extraFrameworkDirs :: Lens' BuildInfo [String] # asmSources :: Lens' BuildInfo [FilePath] # cmmSources :: Lens' BuildInfo [FilePath] # cSources :: Lens' BuildInfo [FilePath] # cxxSources :: Lens' BuildInfo [FilePath] # jsSources :: Lens' BuildInfo [FilePath] # hsSourceDirs :: Lens' BuildInfo [FilePath] # otherModules :: Lens' BuildInfo [ModuleName] # virtualModules :: Lens' BuildInfo [ModuleName] # autogenModules :: Lens' BuildInfo [ModuleName] # defaultLanguage :: Lens' BuildInfo (Maybe Language) # otherLanguages :: Lens' BuildInfo [Language] # defaultExtensions :: Lens' BuildInfo [Extension] # otherExtensions :: Lens' BuildInfo [Extension] # oldExtensions :: Lens' BuildInfo [Extension] # extraLibs :: Lens' BuildInfo [String] # extraGHCiLibs :: Lens' BuildInfo [String] # extraBundledLibs :: Lens' BuildInfo [String] # extraLibFlavours :: Lens' BuildInfo [String] # extraLibDirs :: Lens' BuildInfo [String] # includeDirs :: Lens' BuildInfo [FilePath] # includes :: Lens' BuildInfo [FilePath] # installIncludes :: Lens' BuildInfo [FilePath] # options :: Lens' BuildInfo [(CompilerFlavor, [String])] # profOptions :: Lens' BuildInfo [(CompilerFlavor, [String])] # sharedOptions :: Lens' BuildInfo [(CompilerFlavor, [String])] # staticOptions :: Lens' BuildInfo [(CompilerFlavor, [String])] # customFieldsBI :: Lens' BuildInfo [(String, String)] # targetBuildDepends :: Lens' BuildInfo [Dependency] # mixins :: Lens' BuildInfo [Mixin] #
type Rep BuildInfo # |
Instance details Defined in Distribution.Types.BuildInfo type Rep BuildInfo = D1 (MetaData "BuildInfo" "Distribution.Types.BuildInfo" "Cabal-2.4.0.1" 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 "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 [FilePath]) :*: (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 "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 "extraLibDirs") 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 "installIncludes") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [FilePath]) :*: S1 (MetaSel (Just "options") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [(CompilerFlavor, [String])])))) :*: ((S1 (MetaSel (Just "profOptions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [(CompilerFlavor, [String])]) :*: (S1 (MetaSel (Just "sharedOptions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [(CompilerFlavor, [String])]) :*: S1 (MetaSel (Just "staticOptions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [(CompilerFlavor, [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 #

Classy lenses for `BuildInfo`.

Minimal complete definition

buildInfo

Methods

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] #

pkgconfigDepends :: Lens' a [PkgconfigDependency] #

frameworks :: Lens' a [String] #

extraFrameworkDirs :: Lens' a [String] #

asmSources :: Lens' a [FilePath] #

cmmSources :: Lens' a [FilePath] #

cSources :: Lens' a [FilePath] #

cxxSources :: Lens' a [FilePath] #

jsSources :: Lens' a [FilePath] #

hsSourceDirs :: Lens' a [FilePath] #

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] #

extraGHCiLibs :: Lens' a [String] #

extraBundledLibs :: Lens' a [String] #

extraLibFlavours :: Lens' a [String] #

extraLibDirs :: Lens' a [String] #

includeDirs :: Lens' a [FilePath] #

includes :: Lens' a [FilePath] #

installIncludes :: Lens' a [FilePath] #

options :: Lens' a [(CompilerFlavor, [String])] #

profOptions :: Lens' a [(CompilerFlavor, [String])] #

sharedOptions :: Lens' a [(CompilerFlavor, [String])] #

staticOptions :: Lens' a [(CompilerFlavor, [String])] #

customFieldsBI :: Lens' a [(String, String)] #

targetBuildDepends :: Lens' a [Dependency] #

mixins :: Lens' a [Mixin] #

Instances

HasBuildInfo BuildInfo # |
Instance details Defined in Distribution.Types.BuildInfo.Lens Methods buildInfo :: Lens' BuildInfo BuildInfo # buildable :: Lens' BuildInfo Bool # buildTools :: Lens' BuildInfo [LegacyExeDependency] # buildToolDepends :: Lens' BuildInfo [ExeDependency] # cppOptions :: Lens' BuildInfo [String] # asmOptions :: Lens' BuildInfo [String] # cmmOptions :: Lens' BuildInfo [String] # ccOptions :: Lens' BuildInfo [String] # cxxOptions :: Lens' BuildInfo [String] # ldOptions :: Lens' BuildInfo [String] # pkgconfigDepends :: Lens' BuildInfo [PkgconfigDependency] # frameworks :: Lens' BuildInfo [String] # extraFrameworkDirs :: Lens' BuildInfo [String] # asmSources :: Lens' BuildInfo [FilePath] # cmmSources :: Lens' BuildInfo [FilePath] # cSources :: Lens' BuildInfo [FilePath] # cxxSources :: Lens' BuildInfo [FilePath] # jsSources :: Lens' BuildInfo [FilePath] # hsSourceDirs :: Lens' BuildInfo [FilePath] # otherModules :: Lens' BuildInfo [ModuleName] # virtualModules :: Lens' BuildInfo [ModuleName] # autogenModules :: Lens' BuildInfo [ModuleName] # defaultLanguage :: Lens' BuildInfo (Maybe Language) # otherLanguages :: Lens' BuildInfo [Language] # defaultExtensions :: Lens' BuildInfo [Extension] # otherExtensions :: Lens' BuildInfo [Extension] # oldExtensions :: Lens' BuildInfo [Extension] # extraLibs :: Lens' BuildInfo [String] # extraGHCiLibs :: Lens' BuildInfo [String] # extraBundledLibs :: Lens' BuildInfo [String] # extraLibFlavours :: Lens' BuildInfo [String] # extraLibDirs :: Lens' BuildInfo [String] # includeDirs :: Lens' BuildInfo [FilePath] # includes :: Lens' BuildInfo [FilePath] # installIncludes :: Lens' BuildInfo [FilePath] # options :: Lens' BuildInfo [(CompilerFlavor, [String])] # profOptions :: Lens' BuildInfo [(CompilerFlavor, [String])] # sharedOptions :: Lens' BuildInfo [(CompilerFlavor, [String])] # staticOptions :: Lens' BuildInfo [(CompilerFlavor, [String])] # customFieldsBI :: Lens' BuildInfo [(String, String)] # targetBuildDepends :: Lens' BuildInfo [Dependency] # mixins :: Lens' BuildInfo [Mixin] #
HasBuildInfo TestSuite # |
Instance details Defined in Distribution.Types.TestSuite Methods buildInfo :: Lens' TestSuite BuildInfo # buildable :: Lens' TestSuite Bool # buildTools :: Lens' TestSuite [LegacyExeDependency] # buildToolDepends :: Lens' TestSuite [ExeDependency] # cppOptions :: Lens' TestSuite [String] # asmOptions :: Lens' TestSuite [String] # cmmOptions :: Lens' TestSuite [String] # ccOptions :: Lens' TestSuite [String] # cxxOptions :: Lens' TestSuite [String] # ldOptions :: Lens' TestSuite [String] # pkgconfigDepends :: Lens' TestSuite [PkgconfigDependency] # frameworks :: Lens' TestSuite [String] # extraFrameworkDirs :: Lens' TestSuite [String] # asmSources :: Lens' TestSuite [FilePath] # cmmSources :: Lens' TestSuite [FilePath] # cSources :: Lens' TestSuite [FilePath] # cxxSources :: Lens' TestSuite [FilePath] # jsSources :: Lens' TestSuite [FilePath] # hsSourceDirs :: Lens' TestSuite [FilePath] # otherModules :: Lens' TestSuite [ModuleName] # virtualModules :: Lens' TestSuite [ModuleName] # autogenModules :: Lens' TestSuite [ModuleName] # defaultLanguage :: Lens' TestSuite (Maybe Language) # otherLanguages :: Lens' TestSuite [Language] # defaultExtensions :: Lens' TestSuite [Extension] # otherExtensions :: Lens' TestSuite [Extension] # oldExtensions :: Lens' TestSuite [Extension] # extraLibs :: Lens' TestSuite [String] # extraGHCiLibs :: Lens' TestSuite [String] # extraBundledLibs :: Lens' TestSuite [String] # extraLibFlavours :: Lens' TestSuite [String] # extraLibDirs :: Lens' TestSuite [String] # includeDirs :: Lens' TestSuite [FilePath] # includes :: Lens' TestSuite [FilePath] # installIncludes :: Lens' TestSuite [FilePath] # options :: Lens' TestSuite [(CompilerFlavor, [String])] # profOptions :: Lens' TestSuite [(CompilerFlavor, [String])] # sharedOptions :: Lens' TestSuite [(CompilerFlavor, [String])] # staticOptions :: Lens' TestSuite [(CompilerFlavor, [String])] # customFieldsBI :: Lens' TestSuite [(String, String)] # targetBuildDepends :: Lens' TestSuite [Dependency] # mixins :: Lens' TestSuite [Mixin] #
HasBuildInfo Library # |
Instance details Defined in Distribution.Types.Library Methods buildInfo :: Lens' Library BuildInfo # buildable :: Lens' Library Bool # buildTools :: Lens' Library [LegacyExeDependency] # buildToolDepends :: Lens' Library [ExeDependency] # cppOptions :: Lens' Library [String] # asmOptions :: Lens' Library [String] # cmmOptions :: Lens' Library [String] # ccOptions :: Lens' Library [String] # cxxOptions :: Lens' Library [String] # ldOptions :: Lens' Library [String] # pkgconfigDepends :: Lens' Library [PkgconfigDependency] # frameworks :: Lens' Library [String] # extraFrameworkDirs :: Lens' Library [String] # asmSources :: Lens' Library [FilePath] # cmmSources :: Lens' Library [FilePath] # cSources :: Lens' Library [FilePath] # cxxSources :: Lens' Library [FilePath] # jsSources :: Lens' Library [FilePath] # hsSourceDirs :: Lens' Library [FilePath] # otherModules :: Lens' Library [ModuleName] # virtualModules :: Lens' Library [ModuleName] # autogenModules :: Lens' Library [ModuleName] # defaultLanguage :: Lens' Library (Maybe Language) # otherLanguages :: Lens' Library [Language] # defaultExtensions :: Lens' Library [Extension] # otherExtensions :: Lens' Library [Extension] # oldExtensions :: Lens' Library [Extension] # extraLibs :: Lens' Library [String] # extraGHCiLibs :: Lens' Library [String] # extraBundledLibs :: Lens' Library [String] # extraLibFlavours :: Lens' Library [String] # extraLibDirs :: Lens' Library [String] # includeDirs :: Lens' Library [FilePath] # includes :: Lens' Library [FilePath] # installIncludes :: Lens' Library [FilePath] # options :: Lens' Library [(CompilerFlavor, [String])] # profOptions :: Lens' Library [(CompilerFlavor, [String])] # sharedOptions :: Lens' Library [(CompilerFlavor, [String])] # staticOptions :: Lens' Library [(CompilerFlavor, [String])] # customFieldsBI :: Lens' Library [(String, String)] # targetBuildDepends :: Lens' Library [Dependency] # mixins :: Lens' Library [Mixin] #
HasBuildInfo ForeignLib # |
Instance details Defined in Distribution.Types.ForeignLib Methods buildInfo :: Lens' ForeignLib BuildInfo # buildable :: Lens' ForeignLib Bool # buildTools :: Lens' ForeignLib [LegacyExeDependency] # buildToolDepends :: Lens' ForeignLib [ExeDependency] # cppOptions :: Lens' ForeignLib [String] # asmOptions :: Lens' ForeignLib [String] # cmmOptions :: Lens' ForeignLib [String] # ccOptions :: Lens' ForeignLib [String] # cxxOptions :: Lens' ForeignLib [String] # ldOptions :: Lens' ForeignLib [String] # pkgconfigDepends :: Lens' ForeignLib [PkgconfigDependency] # frameworks :: Lens' ForeignLib [String] # extraFrameworkDirs :: Lens' ForeignLib [String] # asmSources :: Lens' ForeignLib [FilePath] # cmmSources :: Lens' ForeignLib [FilePath] # cSources :: Lens' ForeignLib [FilePath] # cxxSources :: Lens' ForeignLib [FilePath] # jsSources :: Lens' ForeignLib [FilePath] # hsSourceDirs :: Lens' ForeignLib [FilePath] # otherModules :: Lens' ForeignLib [ModuleName] # virtualModules :: Lens' ForeignLib [ModuleName] # autogenModules :: Lens' ForeignLib [ModuleName] # defaultLanguage :: Lens' ForeignLib (Maybe Language) # otherLanguages :: Lens' ForeignLib [Language] # defaultExtensions :: Lens' ForeignLib [Extension] # otherExtensions :: Lens' ForeignLib [Extension] # oldExtensions :: Lens' ForeignLib [Extension] # extraLibs :: Lens' ForeignLib [String] # extraGHCiLibs :: Lens' ForeignLib [String] # extraBundledLibs :: Lens' ForeignLib [String] # extraLibFlavours :: Lens' ForeignLib [String] # extraLibDirs :: Lens' ForeignLib [String] # includeDirs :: Lens' ForeignLib [FilePath] # includes :: Lens' ForeignLib [FilePath] # installIncludes :: Lens' ForeignLib [FilePath] # options :: Lens' ForeignLib [(CompilerFlavor, [String])] # profOptions :: Lens' ForeignLib [(CompilerFlavor, [String])] # sharedOptions :: Lens' ForeignLib [(CompilerFlavor, [String])] # staticOptions :: Lens' ForeignLib [(CompilerFlavor, [String])] # customFieldsBI :: Lens' ForeignLib [(String, String)] # targetBuildDepends :: Lens' ForeignLib [Dependency] # mixins :: Lens' ForeignLib [Mixin] #
HasBuildInfo Executable # |
Instance details Defined in Distribution.Types.Executable Methods buildInfo :: Lens' Executable BuildInfo # buildable :: Lens' Executable Bool # buildTools :: Lens' Executable [LegacyExeDependency] # buildToolDepends :: Lens' Executable [ExeDependency] # cppOptions :: Lens' Executable [String] # asmOptions :: Lens' Executable [String] # cmmOptions :: Lens' Executable [String] # ccOptions :: Lens' Executable [String] # cxxOptions :: Lens' Executable [String] # ldOptions :: Lens' Executable [String] # pkgconfigDepends :: Lens' Executable [PkgconfigDependency] # frameworks :: Lens' Executable [String] # extraFrameworkDirs :: Lens' Executable [String] # asmSources :: Lens' Executable [FilePath] # cmmSources :: Lens' Executable [FilePath] # cSources :: Lens' Executable [FilePath] # cxxSources :: Lens' Executable [FilePath] # jsSources :: Lens' Executable [FilePath] # hsSourceDirs :: Lens' Executable [FilePath] # otherModules :: Lens' Executable [ModuleName] # virtualModules :: Lens' Executable [ModuleName] # autogenModules :: Lens' Executable [ModuleName] # defaultLanguage :: Lens' Executable (Maybe Language) # otherLanguages :: Lens' Executable [Language] # defaultExtensions :: Lens' Executable [Extension] # otherExtensions :: Lens' Executable [Extension] # oldExtensions :: Lens' Executable [Extension] # extraLibs :: Lens' Executable [String] # extraGHCiLibs :: Lens' Executable [String] # extraBundledLibs :: Lens' Executable [String] # extraLibFlavours :: Lens' Executable [String] # extraLibDirs :: Lens' Executable [String] # includeDirs :: Lens' Executable [FilePath] # includes :: Lens' Executable [FilePath] # installIncludes :: Lens' Executable [FilePath] # options :: Lens' Executable [(CompilerFlavor, [String])] # profOptions :: Lens' Executable [(CompilerFlavor, [String])] # sharedOptions :: Lens' Executable [(CompilerFlavor, [String])] # staticOptions :: Lens' Executable [(CompilerFlavor, [String])] # customFieldsBI :: Lens' Executable [(String, String)] # targetBuildDepends :: Lens' Executable [Dependency] # mixins :: Lens' Executable [Mixin] #
HasBuildInfo Benchmark # |
Instance details Defined in Distribution.Types.Benchmark Methods buildInfo :: Lens' Benchmark BuildInfo # buildable :: Lens' Benchmark Bool # buildTools :: Lens' Benchmark [LegacyExeDependency] # buildToolDepends :: Lens' Benchmark [ExeDependency] # cppOptions :: Lens' Benchmark [String] # asmOptions :: Lens' Benchmark [String] # cmmOptions :: Lens' Benchmark [String] # ccOptions :: Lens' Benchmark [String] # cxxOptions :: Lens' Benchmark [String] # ldOptions :: Lens' Benchmark [String] # pkgconfigDepends :: Lens' Benchmark [PkgconfigDependency] # frameworks :: Lens' Benchmark [String] # extraFrameworkDirs :: Lens' Benchmark [String] # asmSources :: Lens' Benchmark [FilePath] # cmmSources :: Lens' Benchmark [FilePath] # cSources :: Lens' Benchmark [FilePath] # cxxSources :: Lens' Benchmark [FilePath] # jsSources :: Lens' Benchmark [FilePath] # hsSourceDirs :: Lens' Benchmark [FilePath] # otherModules :: Lens' Benchmark [ModuleName] # virtualModules :: Lens' Benchmark [ModuleName] # autogenModules :: Lens' Benchmark [ModuleName] # defaultLanguage :: Lens' Benchmark (Maybe Language) # otherLanguages :: Lens' Benchmark [Language] # defaultExtensions :: Lens' Benchmark [Extension] # otherExtensions :: Lens' Benchmark [Extension] # oldExtensions :: Lens' Benchmark [Extension] # extraLibs :: Lens' Benchmark [String] # extraGHCiLibs :: Lens' Benchmark [String] # extraBundledLibs :: Lens' Benchmark [String] # extraLibFlavours :: Lens' Benchmark [String] # extraLibDirs :: Lens' Benchmark [String] # includeDirs :: Lens' Benchmark [FilePath] # includes :: Lens' Benchmark [FilePath] # installIncludes :: Lens' Benchmark [FilePath] # options :: Lens' Benchmark [(CompilerFlavor, [String])] # profOptions :: Lens' Benchmark [(CompilerFlavor, [String])] # sharedOptions :: Lens' Benchmark [(CompilerFlavor, [String])] # staticOptions :: Lens' Benchmark [(CompilerFlavor, [String])] # customFieldsBI :: Lens' Benchmark [(String, String)] # targetBuildDepends :: Lens' Benchmark [Dependency] # mixins :: Lens' Benchmark [Mixin] #
HasBuildInfo Component # |
Instance details Defined in Distribution.Types.Component Methods buildInfo :: Lens' Component BuildInfo # buildable :: Lens' Component Bool # buildTools :: Lens' Component [LegacyExeDependency] # buildToolDepends :: Lens' Component [ExeDependency] # cppOptions :: Lens' Component [String] # asmOptions :: Lens' Component [String] # cmmOptions :: Lens' Component [String] # ccOptions :: Lens' Component [String] # cxxOptions :: Lens' Component [String] # ldOptions :: Lens' Component [String] # pkgconfigDepends :: Lens' Component [PkgconfigDependency] # frameworks :: Lens' Component [String] # extraFrameworkDirs :: Lens' Component [String] # asmSources :: Lens' Component [FilePath] # cmmSources :: Lens' Component [FilePath] # cSources :: Lens' Component [FilePath] # cxxSources :: Lens' Component [FilePath] # jsSources :: Lens' Component [FilePath] # hsSourceDirs :: Lens' Component [FilePath] # otherModules :: Lens' Component [ModuleName] # virtualModules :: Lens' Component [ModuleName] # autogenModules :: Lens' Component [ModuleName] # defaultLanguage :: Lens' Component (Maybe Language) # otherLanguages :: Lens' Component [Language] # defaultExtensions :: Lens' Component [Extension] # otherExtensions :: Lens' Component [Extension] # oldExtensions :: Lens' Component [Extension] # extraLibs :: Lens' Component [String] # extraGHCiLibs :: Lens' Component [String] # extraBundledLibs :: Lens' Component [String] # extraLibFlavours :: Lens' Component [String] # extraLibDirs :: Lens' Component [String] # includeDirs :: Lens' Component [FilePath] # includes :: Lens' Component [FilePath] # installIncludes :: Lens' Component [FilePath] # options :: Lens' Component [(CompilerFlavor, [String])] # profOptions :: Lens' Component [(CompilerFlavor, [String])] # sharedOptions :: Lens' Component [(CompilerFlavor, [String])] # staticOptions :: Lens' Component [(CompilerFlavor, [String])] # customFieldsBI :: Lens' Component [(String, String)] # targetBuildDepends :: Lens' Component [Dependency] # mixins :: Lens' Component [Mixin] #
HasBuildInfo BenchmarkStanza # |
Instance details Defined in Distribution.PackageDescription.FieldGrammar Methods buildInfo :: Lens' BenchmarkStanza BuildInfo # buildable :: Lens' BenchmarkStanza Bool # buildTools :: Lens' BenchmarkStanza [LegacyExeDependency] # buildToolDepends :: Lens' BenchmarkStanza [ExeDependency] # cppOptions :: Lens' BenchmarkStanza [String] # asmOptions :: Lens' BenchmarkStanza [String] # cmmOptions :: Lens' BenchmarkStanza [String] # ccOptions :: Lens' BenchmarkStanza [String] # cxxOptions :: Lens' BenchmarkStanza [String] # ldOptions :: Lens' BenchmarkStanza [String] # pkgconfigDepends :: Lens' BenchmarkStanza [PkgconfigDependency] # frameworks :: Lens' BenchmarkStanza [String] # extraFrameworkDirs :: Lens' BenchmarkStanza [String] # asmSources :: Lens' BenchmarkStanza [FilePath] # cmmSources :: Lens' BenchmarkStanza [FilePath] # cSources :: Lens' BenchmarkStanza [FilePath] # cxxSources :: Lens' BenchmarkStanza [FilePath] # jsSources :: Lens' BenchmarkStanza [FilePath] # hsSourceDirs :: Lens' BenchmarkStanza [FilePath] # otherModules :: Lens' BenchmarkStanza [ModuleName] # virtualModules :: Lens' BenchmarkStanza [ModuleName] # autogenModules :: Lens' BenchmarkStanza [ModuleName] # defaultLanguage :: Lens' BenchmarkStanza (Maybe Language) # otherLanguages :: Lens' BenchmarkStanza [Language] # defaultExtensions :: Lens' BenchmarkStanza [Extension] # otherExtensions :: Lens' BenchmarkStanza [Extension] # oldExtensions :: Lens' BenchmarkStanza [Extension] # extraLibs :: Lens' BenchmarkStanza [String] # extraGHCiLibs :: Lens' BenchmarkStanza [String] # extraBundledLibs :: Lens' BenchmarkStanza [String] # extraLibFlavours :: Lens' BenchmarkStanza [String] # extraLibDirs :: Lens' BenchmarkStanza [String] # includeDirs :: Lens' BenchmarkStanza [FilePath] # includes :: Lens' BenchmarkStanza [FilePath] # installIncludes :: Lens' BenchmarkStanza [FilePath] # options :: Lens' BenchmarkStanza [(CompilerFlavor, [String])] # profOptions :: Lens' BenchmarkStanza [(CompilerFlavor, [String])] # sharedOptions :: Lens' BenchmarkStanza [(CompilerFlavor, [String])] # staticOptions :: Lens' BenchmarkStanza [(CompilerFlavor, [String])] # customFieldsBI :: Lens' BenchmarkStanza [(String, String)] # targetBuildDepends :: Lens' BenchmarkStanza [Dependency] # mixins :: Lens' BenchmarkStanza [Mixin] #
HasBuildInfo TestSuiteStanza # |
Instance details Defined in Distribution.PackageDescription.FieldGrammar Methods buildInfo :: Lens' TestSuiteStanza BuildInfo # buildable :: Lens' TestSuiteStanza Bool # buildTools :: Lens' TestSuiteStanza [LegacyExeDependency] # buildToolDepends :: Lens' TestSuiteStanza [ExeDependency] # cppOptions :: Lens' TestSuiteStanza [String] # asmOptions :: Lens' TestSuiteStanza [String] # cmmOptions :: Lens' TestSuiteStanza [String] # ccOptions :: Lens' TestSuiteStanza [String] # cxxOptions :: Lens' TestSuiteStanza [String] # ldOptions :: Lens' TestSuiteStanza [String] # pkgconfigDepends :: Lens' TestSuiteStanza [PkgconfigDependency] # frameworks :: Lens' TestSuiteStanza [String] # extraFrameworkDirs :: Lens' TestSuiteStanza [String] # asmSources :: Lens' TestSuiteStanza [FilePath] # cmmSources :: Lens' TestSuiteStanza [FilePath] # cSources :: Lens' TestSuiteStanza [FilePath] # cxxSources :: Lens' TestSuiteStanza [FilePath] # jsSources :: Lens' TestSuiteStanza [FilePath] # hsSourceDirs :: Lens' TestSuiteStanza [FilePath] # otherModules :: Lens' TestSuiteStanza [ModuleName] # virtualModules :: Lens' TestSuiteStanza [ModuleName] # autogenModules :: Lens' TestSuiteStanza [ModuleName] # defaultLanguage :: Lens' TestSuiteStanza (Maybe Language) # otherLanguages :: Lens' TestSuiteStanza [Language] # defaultExtensions :: Lens' TestSuiteStanza [Extension] # otherExtensions :: Lens' TestSuiteStanza [Extension] # oldExtensions :: Lens' TestSuiteStanza [Extension] # extraLibs :: Lens' TestSuiteStanza [String] # extraGHCiLibs :: Lens' TestSuiteStanza [String] # extraBundledLibs :: Lens' TestSuiteStanza [String] # extraLibFlavours :: Lens' TestSuiteStanza [String] # extraLibDirs :: Lens' TestSuiteStanza [String] # includeDirs :: Lens' TestSuiteStanza [FilePath] # includes :: Lens' TestSuiteStanza [FilePath] # installIncludes :: Lens' TestSuiteStanza [FilePath] # options :: Lens' TestSuiteStanza [(CompilerFlavor, [String])] # profOptions :: Lens' TestSuiteStanza [(CompilerFlavor, [String])] # sharedOptions :: Lens' TestSuiteStanza [(CompilerFlavor, [String])] # staticOptions :: Lens' TestSuiteStanza [(CompilerFlavor, [String])] # customFieldsBI :: Lens' TestSuiteStanza [(String, String)] # targetBuildDepends :: Lens' TestSuiteStanza [Dependency] # mixins :: Lens' TestSuiteStanza [Mixin] #

class HasBuildInfos a where #

Methods

traverseBuildInfos :: Traversal' a BuildInfo #

Instances

HasBuildInfos PackageDescription # |
Instance details Defined in Distribution.Types.PackageDescription Methods traverseBuildInfos :: Traversal' PackageDescription BuildInfo #
HasBuildInfos GenericPackageDescription # |
Instance details Defined in Distribution.Types.GenericPackageDescription Methods traverseBuildInfos :: Traversal' GenericPackageDescription BuildInfo #