cabal-install use multiple config files?

Roman Cheplyaka roma at
Sun Dec 9 22:34:19 CET 2012

* Stephen Paul Weber <singpolyma at> [2012-12-09 21:20:34+0000]
> I don't see a command-line switch to ask cabal-install to use a
> different config file.  Is there an environment variable for it or
> something?  I want to use the same cabal-install binary with three
> different installs of ghc and ghc-pkg to allow me to maintain my
> cross-compiler packages as well.

There's a '--config-file' option, see


More information about the Glasgow-haskell-users mailing list