[Hackage] #770: cabal is not reading or respecting ~/.cabal/config

Hackage cvs-ghc at haskell.org
Sat Nov 27 18:02:30 EST 2010

#770: cabal is not reading or respecting ~/.cabal/config
  Reporter:  guest          |        Owner:                                 
      Type:  defect         |       Status:  new                            
  Priority:  normal         |    Milestone:                                 
 Component:  Cabal library  |      Version:                        
  Severity:  minor          |     Keywords:  cabal config global directories
Difficulty:  unknown        |   Ghcversion:  6.12.3                         
  Platform:  Linux          |  
 I changed my ~/.cabal/config file to keep global packages under
 /usr/local/lib/haskell and /usr/local/share/haskell to avoid cluttering
 the main /usr/local/lib and /usr/local/share/doc directories.  ghc-pkg
 finds them just fine, and ghc-pkg recache works as expected.  However,
 when I do 'cabal install whatever --global' it still throws everything
 into the old default directories, and more distressingly it isn't updating
 the access timestamp on ~/.cabal/config (as revealed by ls -u.)

 cabal --version reports 0.8.2 using library, nothing else unusual
 about my setup.

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/770>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list