Use Cabal to configure the dist-install ghc-pkg; fixes trac #4156