cabal-debian-4.11: Create a debianization for a cabal package

Safe HaskellNone



Determine whether a specific version of a Haskell package is bundled with into this particular version of the given compiler.



builtIn :: Map PackageName VersionSplits -> CompilerFlavor -> FilePath -> PackageName -> Maybe VersionSource

Find out what version, if any, of a cabal library is built into the newest version of haskell compiler hc in environment root. For GHC this is done by looking at what virtual packages debian package provides. I have modified the ghcjs packaging to generate the required virtual packages in the Provides line. For other compilers it maybe be unimplemented.