Changelog for hackage-db-2.1.3
Revision history for hackage-db
2.1.3
-
hackageTarball/cabalStateDirnow support overriding the cabal directory location by setting theCABAL_DIRenvironment variable. This is useful ifhackage-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 thecabal-installconfiguration file).
-
-
hackageTarballnow supports all state dir location(s) (newly) supported bycabal-install. IfCABAL_DIRis not set, it will look in the following locations in that order:$HOME/.cabal, the classic location, will be preferred if it exists.$XDG_CACHE_HOME/cabal(usually$HOME/.cache/cabal) is used otherwise.cabal-install3.10.1.0 and newer will default to this location for fresh installations.
2.1.2
Fix a bug which lead to parsePackageData always failing if the package had
a preferred-versions file in the hackage tarball.