[Hackage] #864: worldfile written with incorrect case

Hackage cvs-ghc at haskell.org
Mon Apr 16 09:00:04 CEST 2012

#864: worldfile written with incorrect case
  Reporter:  benmachine          |        Owner:                    
      Type:  defect              |       Status:  new               
  Priority:  normal              |    Milestone:  cabal-install-0.16
 Component:  cabal-install tool  |      Version:  HEAD              
  Severity:  normal              |     Keywords:                    
Difficulty:  unknown             |   Ghcversion:                    
  Platform:                      |  
Changes (by kosmikus):

  * milestone:  cabal-install-0.14 => cabal-install-0.16


 Pains me to do this, but I'll defer this to the next release. The
 situation seems a bit messy to me, and I don't want to interfere.

 In the install command, user targets are "resolved". During this phase,
 case-resolution is done, but for example, also "world" is expanded to the
 actual contents of the world file. The resolved targets are then passed to
 the solver.

 However, when the world file is written, the original command line targets
 are used, not the resolved ones. And indeed, from the output of the
 resolver we can't tell anymore which targets have been specified
 explicitly, and which ones might have been themselves added by other means
 (such as expanding world).

 I think the proper fix is to add enough info to the output of the target
 resolver so that we can use that info for writing the world file, too.
 However, this is a change I don't want to make immediately before a

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

More information about the cabal-devel mailing list