Ticket #307 (closed enhancement: worksforme)
Allow specifying alternative source and target package databases other than --user and --global
|Reported by:||fons||Owned by:|
Sometimes, it is useful to use alternative target/source package databases (e.g. for testing that the installation of a package with custom hooks works, without poisoning the global or user databases).
GHC allows doing that through ghc's and ghc-pkg's -package-conf flag. However, there's no equivalent in Cabal.
Thus, I suggest adding new -package-conf flag to the configure, install and register commands.