[GHC] #7990: ghc-pkg warning shows the wrong command

#7990: ghc-pkg warning shows the wrong command -----------------------------+---------------------------------------------- Reporter: mcandre | Owner: Type: bug | Status: new Priority: normal | Component: Package system Version: 7.6.3 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Other | Blockedby: Blocking: | Related: -----------------------------+---------------------------------------------- When ghc-pkg observes your cache is out of date, it displays a helpful warning, recommending "ghc-pkg recache". However, sometimes running this command does not fix the problem, because it targets the wrong cache. For out of date global caches, "ghc-pkg --global recache" successfully clears the warning. For out of date user caches, "ghc-pkg --user recache" clears the warning. In the future, could ghc-pkg display the command more specific to the problem? -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7990 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC