[Haskell-cafe] Improved ghc-pkg cache warnings

Andrew Pennebaker andrew.pennebaker at gmail.com
Sat Jun 15 22:35:05 CEST 2013


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?

-- 
Cheers,

Andrew Pennebaker
www.yellosoft.us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130615/2c9910d4/attachment.htm>


More information about the Haskell-Cafe mailing list