#505: use environment variable for location of config file
----------------------------------+-----------------------------------------
Reporter: duncan | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: cabal-install tool | Version:
Severity: normal | Keywords:
Difficulty: very easy (<1 hour) | Ghcversion:
Platform: |
----------------------------------+-----------------------------------------
See http://haskell.org/pipermail/haskell-cafe/2009-February/056388.html
We can currently specify the cabal config file on the command line but
some situation it would be useful in to be able to specify it via an
environment variable.
This should be pretty easy for someone to do.
The order of priority would be command line, env var, per-user default
location. It should be an error to specify by the command line or env var
a non-existant config file.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/505>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects