[Hackage] #263: Multiple compilers of the same version confuse Cabal

Hackage trac at galois.com
Tue Mar 25 08:31:20 EDT 2008

#263: Multiple compilers of the same version confuse Cabal
  Reporter:  guest          |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:
  Severity:  normal         |     Keywords:         
Difficulty:  normal         |   Ghcversion:  6.8.2  
  Platform:                 |  
 It often happens that two or more copies of the same version of the same
 compiler are installed on a system. For example, the compiler can be
 with an installation package, or be built from the source tarball, or from
 or using MacPorts.

 If a package is installed for each of these copies of the compiler
 while allowing Cabal to use the default installation location each time,
 Cabal will always use the exact same folder. This leads to mayhem and

 Proposed solution:

 Cabal should also use the base path of the compiler when it constructs
 the directory name for the package, not just the compiler name and

 For example: If I install a package foo- --with-
 and the installation base path is /usr/local, then Cabal should install
 package into /usr/local/foo-

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

More information about the cabal-devel mailing list