Module documentation for 2.1.3
Revision history for hackage-db
cabalStateDirnow support overriding the cabal directory location by setting the
CABAL_DIRenvironment variable. This is useful if
hackage-dbdoesn’t detect the correct location on its own:
A matching cabal state directory may exist, but should not be used for some reason.
A non-standard cabal state directory may be used, but
hackage-dbcan’t find it (as it doesn’t check the
hackageTarballnow supports all state dir location(s) (newly) supported by
CABAL_DIRis not set, it will look in the following locations in that order:
$HOME/.cabal, the classic location, will be preferred if it exists.
$HOME/.cache/cabal) is used otherwise.
cabal-install18.104.22.168 and newer will default to this location for fresh installations.
Fix a bug which lead to
parsePackageData always failing if the package had
preferred-versions file in the hackage tarball.