ghc-pkg bug? possible cabal workaround?