| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Distribution.Nixpkgs.Haskell.FromCabal.Configuration
Contents
Documentation
data Configuration Source #
Constructors
Fields
- compilerInfo :: CompilerInfo
Target compiler. Used by
finalizePackageDescriptionto choose appropriate flags and dependencies. - corePackages :: Set PackageIdentifier
Compiler core packages that are also found on Hackage.
- defaultPackageOverrides :: [Constraint]
These packages replace the latest respective version during dependency resolution.
- extraPackages :: [Constraint]
These packages are added to the generated set, but the play no role during dependency resolution.
- dontDistributePackages :: Map PackageName (Set Platform)
We know that these packages won't build, so we give them an empty meta.hydraPlatforms attribute to avoid cluttering our Hydra output with lots of failure messages.
- packageMaintainers :: Map Identifier (Set PackageName)
This information is used by the
hackage2nixutility to determine themaintainersfor a given Haskell package.
Instances
Methods
showsPrec :: Int -> Configuration -> ShowS #
show :: Configuration -> String #
showList :: [Configuration] -> ShowS #
Associated Types
type Rep Configuration :: * -> * #
Methods
rnf :: Configuration -> () #
Methods
parseJSON :: Value -> Parser Configuration #
parseJSONList :: Value -> Parser [Configuration] #
assertConsistency :: Monad m => Configuration -> m Configuration Source #
Orphan instances
Methods
Methods