You'll now get sane output for all Haskell libraries. For example: $ ghc-pkg field mtl pkgpath pkgpath: lang/ghc