[Hackage] #542: installing cabal-install refers to editing nonexistent file $HOME/.cabal/config

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


#542: installing cabal-install refers to editing nonexistent file
$HOME/.cabal/config
---------------------------------+------------------------------------------
  Reporter:  nr                  |        Owner:         
      Type:  defect              |       Status:  new    
  Priority:  normal              |    Milestone:         
 Component:  cabal-install tool  |      Version:  1.6.0.1
  Severity:  minor               |   Resolution:         
  Keywords:                      |   Difficulty:  unknown
Ghcversion:                      |     Platform:         
---------------------------------+------------------------------------------
Comment (by nr):

 I think the config file should be created at install time.  It's a
 reasonable expectation and will prevent you from having to change
 documentation.   If you can find no other way, it's better to run 'cabal
 update' at install time than it is to leave things as they are now.

 But it would be still better to have a cabal command just to create the
 config file and to run that.  After all, code to 'create config if it does
 not already exist' has got to be right handy someplace...

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


More information about the cabal-devel mailing list