[Hackage] #739: cabal install regression with GHC HEAD - ghc-paths

Hackage cvs-ghc at haskell.org
Tue Sep 14 01:06:49 EDT 2010

#739: cabal install regression with GHC HEAD - ghc-paths
  Reporter:  AntoineLatter  |        Owner:      
      Type:  defect         |       Status:  new 
  Priority:  normal         |    Milestone:      
 Component:  Cabal library  |      Version:  HEAD
  Severity:  normal         |     Keywords:      
Difficulty:  unknown        |   Ghcversion:      
  Platform:                 |  
 with the Cabal library installed with GHC 6.13.20100911 I can no longer
 install the package ghc-paths-

 In 'ghci Setup.hs' I get the error:

     Ambiguous occurrence `None'
     It could refer to either `Distribution.Simple.Setup.None', imported
 from Distribution.Simple.Setup at Setup.hs:2:1-32
                           or `Pkg.None', imported from
 Distribution.Simple.PackageIndex at Setup.hs:7:1-46

 It looks like the 'None' constructor didn't exist in
 Distribution.Simple.Setup in Cabal 1.8.x. While we can't guarantee that an
 added constructor doesn't conflict with data declarations used in every
 Setup.hs, it seems in poor form to export the same constructor in two
 types in the same library.

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

More information about the cabal-devel mailing list