[Hackage] #699: Do additional ghc / ghc-pkg consistency check

Hackage cvs-ghc at haskell.org
Sat Jun 5 15:18:48 EDT 2010


#699: Do additional ghc / ghc-pkg consistency check
----------------------------+-----------------------------------------------
  Reporter:  duncan         |        Owner:         
      Type:  enhancement    |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.6.0.3
  Severity:  normal         |     Keywords:         
Difficulty:  unknown        |   Ghcversion:         
  Platform:                 |  
----------------------------+-----------------------------------------------
 See http://hackage.haskell.org/trac/ghc/ticket/4103

 In future, `ghc --info` will report the global package database location.
 This can be used to check that ghc and ghc-pkg agree on the same one, as a
 consistency check to make sure the two programs are from the same ghc
 installation.

 Note that getting the location of the global package db from ghc-pkg is a
 bit hacky at the moment. One has to use `ghc-pkg list --global` and parse
 the result. Perhaps we need another ghc feature request for that.

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



More information about the cabal-devel mailing list