[Hackage] #541: bootstrap.sh ignores PREFIX environment variable

Hackage trac at galois.com
Tue Apr 21 18:21:59 EDT 2009

#541: bootstrap.sh ignores PREFIX environment variable
  Reporter:  nr                  |        Owner:         
      Type:  defect              |       Status:  closed 
  Priority:  normal              |    Milestone:         
 Component:  cabal-install tool  |      Version:
  Severity:  major               |   Resolution:  fixed  
  Keywords:                      |   Difficulty:  unknown
Ghcversion:                      |     Platform:  Linux  
Comment (by nr):

 I had a partial config file because I created one, since I was encouraged
 to by the output from some command or other.

 I'm sympathetic to the problem of one install per system vs one config
 file per user.  In that case I hope the Right Thing to do is that every
 time cabal (cabal-install) runs, it checks to see if ~/.cabal/config
 exists and if not, creates it.  Unless that operation fails (with a
 suitable error messages), all other references to the file with then make
 sense.  Even running
   cabal -h
 should create the file.

 A cabal-config man page in section 5 would be a bonus.

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/541#comment:3>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list