Make sure we get the compiler's own Pretty library when we #include
../utils/ghc-pkg/Package.hs.
where
#include "HsVersions.h"
+
import Pretty
import CmdLineOpts ( dynFlag, verbosity )
\begin{code}
#define WANT_PRETTY
--- Yes, do generate pretty-printing stuff for packages
+#define INTERNAL_PRETTY
+-- Yes, do generate pretty-printing stuff for packages, and use our
+-- own Pretty library rather than Text.PrettyPrint
-- There's a blob of code shared with ghc-pkg,
-- so we just include it from there