On Sat, Nov 06, 2010 at 01:11:44PM -0600, Matthias Kilian wrote:
> You'll now get sane output for all Haskell libraries. For example:
> 
> $ ghc-pkg field mtl pkgpath
> pkgpath: lang/ghc

BTW: if you want to get a list of names and pkgpaths of all Haskell
libraries, you can use something like

$ ghc-pkg field \* name,pkgpath | awk '/^name:/ {n = $2} /^pkgpath:/ {print n, 
$2}'

Reply via email to