Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data InstalledPackageInfo = InstalledPackageInfo {
- sourcePackageId :: PackageId
- sourceLibName :: LibraryName
- installedComponentId_ :: ComponentId
- libVisibility :: LibraryVisibility
- installedUnitId :: UnitId
- instantiatedWith :: [(ModuleName, OpenModule)]
- compatPackageKey :: String
- license :: Either License License
- copyright :: !ShortText
- maintainer :: !ShortText
- author :: !ShortText
- stability :: !ShortText
- homepage :: !ShortText
- pkgUrl :: !ShortText
- synopsis :: !ShortText
- description :: !ShortText
- category :: !ShortText
- abiHash :: AbiHash
- indefinite :: Bool
- exposed :: Bool
- exposedModules :: [ExposedModule]
- hiddenModules :: [ModuleName]
- trusted :: Bool
- importDirs :: [FilePath]
- libraryDirs :: [FilePath]
- libraryDirsStatic :: [FilePath]
- libraryDynDirs :: [FilePath]
- dataDir :: FilePath
- hsLibraries :: [String]
- extraLibraries :: [String]
- extraLibrariesStatic :: [String]
- extraGHCiLibraries :: [String]
- includeDirs :: [FilePath]
- includes :: [String]
- depends :: [UnitId]
- abiDepends :: [AbiDependency]
- ccOptions :: [String]
- cxxOptions :: [String]
- ldOptions :: [String]
- frameworkDirs :: [FilePath]
- frameworks :: [String]
- haddockInterfaces :: [FilePath]
- haddockHTMLs :: [FilePath]
- pkgRoot :: Maybe FilePath
- emptyInstalledPackageInfo :: InstalledPackageInfo
- mungedPackageId :: InstalledPackageInfo -> MungedPackageId
- mungedPackageName :: InstalledPackageInfo -> MungedPackageName
- data AbiDependency = AbiDependency {
- depUnitId :: UnitId
- depAbiHash :: AbiHash
- data ExposedModule = ExposedModule {}
Documentation
data InstalledPackageInfo Source #
Instances
mungedPackageName :: InstalledPackageInfo -> MungedPackageName Source #
Returns the munged package name, which we write into name
for
compatibility with old versions of GHC.
data AbiDependency Source #
An ABI dependency is a dependency on a library which also
records the ABI hash (abiHash
) of the library it depends
on.
The primary utility of this is to enable an extra sanity when GHC loads libraries: it can check if the dependency has a matching ABI and if not, refuse to load this library. This information is critical if we are shadowing libraries; differences in the ABI hash let us know what packages get shadowed by the new version of a package.
Instances
Parsec AbiDependency Source # | |||||
Defined in Distribution.Types.AbiDependency parsec :: CabalParsing m => m AbiDependency Source # | |||||
Pretty AbiDependency Source # | |||||
Defined in Distribution.Types.AbiDependency pretty :: AbiDependency -> Doc Source # prettyVersioned :: CabalSpecVersion -> AbiDependency -> Doc Source # | |||||
Structured AbiDependency Source # | |||||
Defined in Distribution.Types.AbiDependency structure :: Proxy AbiDependency -> Structure Source # structureHash' :: Tagged AbiDependency MD5 | |||||
Binary AbiDependency Source # | |||||
Defined in Distribution.Types.AbiDependency put :: AbiDependency -> Put Source # get :: Get AbiDependency Source # putList :: [AbiDependency] -> Put Source # | |||||
NFData AbiDependency Source # | |||||
Defined in Distribution.Types.AbiDependency rnf :: AbiDependency -> () Source # | |||||
Generic AbiDependency Source # | |||||
Defined in Distribution.Types.AbiDependency
from :: AbiDependency -> Rep AbiDependency x # to :: Rep AbiDependency x -> AbiDependency # | |||||
Read AbiDependency Source # | |||||
Defined in Distribution.Types.AbiDependency readsPrec :: Int -> ReadS AbiDependency # readList :: ReadS [AbiDependency] # | |||||
Show AbiDependency Source # | |||||
Defined in Distribution.Types.AbiDependency showsPrec :: Int -> AbiDependency -> ShowS # show :: AbiDependency -> String # showList :: [AbiDependency] -> ShowS # | |||||
Eq AbiDependency Source # | |||||
Defined in Distribution.Types.AbiDependency (==) :: AbiDependency -> AbiDependency -> Bool # (/=) :: AbiDependency -> AbiDependency -> Bool # | |||||
type Rep AbiDependency Source # | |||||
Defined in Distribution.Types.AbiDependency type Rep AbiDependency = D1 ('MetaData "AbiDependency" "Distribution.Types.AbiDependency" "Cabal-syntax-3.12.0.0-a70a" 'False) (C1 ('MetaCons "AbiDependency" 'PrefixI 'True) (S1 ('MetaSel ('Just "depUnitId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UnitId) :*: S1 ('MetaSel ('Just "depAbiHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AbiHash))) |
data ExposedModule Source #
Instances
Parsec ExposedModule Source # | |||||
Defined in Distribution.Types.ExposedModule parsec :: CabalParsing m => m ExposedModule Source # | |||||
Pretty ExposedModule Source # | |||||
Defined in Distribution.Types.ExposedModule pretty :: ExposedModule -> Doc Source # prettyVersioned :: CabalSpecVersion -> ExposedModule -> Doc Source # | |||||
Structured ExposedModule Source # | |||||
Defined in Distribution.Types.ExposedModule structure :: Proxy ExposedModule -> Structure Source # structureHash' :: Tagged ExposedModule MD5 | |||||
Binary ExposedModule Source # | |||||
Defined in Distribution.Types.ExposedModule put :: ExposedModule -> Put Source # get :: Get ExposedModule Source # putList :: [ExposedModule] -> Put Source # | |||||
NFData ExposedModule Source # | |||||
Defined in Distribution.Types.ExposedModule rnf :: ExposedModule -> () Source # | |||||
Generic ExposedModule Source # | |||||
Defined in Distribution.Types.ExposedModule
from :: ExposedModule -> Rep ExposedModule x # to :: Rep ExposedModule x -> ExposedModule # | |||||
Read ExposedModule Source # | |||||
Defined in Distribution.Types.ExposedModule readsPrec :: Int -> ReadS ExposedModule # readList :: ReadS [ExposedModule] # | |||||
Show ExposedModule Source # | |||||
Defined in Distribution.Types.ExposedModule showsPrec :: Int -> ExposedModule -> ShowS # show :: ExposedModule -> String # showList :: [ExposedModule] -> ShowS # | |||||
Eq ExposedModule Source # | |||||
Defined in Distribution.Types.ExposedModule (==) :: ExposedModule -> ExposedModule -> Bool # (/=) :: ExposedModule -> ExposedModule -> Bool # | |||||
type Rep ExposedModule Source # | |||||
Defined in Distribution.Types.ExposedModule type Rep ExposedModule = D1 ('MetaData "ExposedModule" "Distribution.Types.ExposedModule" "Cabal-syntax-3.12.0.0-a70a" 'False) (C1 ('MetaCons "ExposedModule" 'PrefixI 'True) (S1 ('MetaSel ('Just "exposedName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ModuleName) :*: S1 ('MetaSel ('Just "exposedReexport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe OpenModule)))) |