The list of packages installed in the system visible to
pkg-config. This is an opaque datatype, to be constructed with
readPkgConfigDb and queried with pkgConfigPkgPresent.
Constructors
PkgConfigDb (Map PkgconfigName (Maybe PkgconfigVersion))If an entry is Nothing, this means that the package seems to be present, but we don't know the exact version (because parsing of the version number failed).
NoPkgConfigDbFor when we could not run pkg-config successfully.
Instances5Show, Generic, Binary, Structured, Rep
Show PkgConfigDbDefined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Types.PkgConfigDbGeneric PkgConfigDbDefined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Types.PkgConfigDbBinary PkgConfigDbDefined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Types.PkgConfigDbStructured PkgConfigDbDefined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Types.PkgConfigDbtype Rep PkgConfigDb = D1 ('MetaDataDefined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Types.PkgConfigDb"PkgConfigDb"
"Distribution.Solver.Types.PkgConfigDb"
"cabal-install-solver-3.12.1.0-582X8xReBAn365xYF5myIO"
'False) (C1 ('MetaCons"PkgConfigDb"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map PkgconfigName (Maybe PkgconfigVersion)))) :+: C1 ('MetaCons"NoPkgConfigDb"
'PrefixI 'False) U1)