Package sets built with `haskellPackages.ghcWithHoogle` provide a Hoogle executable which points to a Hoogle database, but there's no way to programmatically access the derivation containing the Hoogle database from the package set. This adds a `passthru.hoogle` attribute to package sets built with `haskellPackages.ghcWithHoogle`, and a `passthru.database` helper to derivations built with `haskellPackages.hoogleWithPackages`.
92 B
92 B