@@ -112,4 +112,11 @@ in {
112112 packages.closed.components.tests.readme.build-tools = [
113113 config.hsPkgs.buildPackages.markdown-unlit
114114 ];
115+
116+ # Build ghci and ghc with internal interpreter support to make the
117+ # `reinstallableLibGhc` build more like the boot version.
118+ # See https://github.com/input-output-hk/haskell.nix/issues/1512
119+ packages.ghc.flags.ghci = true;
120+ packages.ghci.flags.ghci = true;
121+ packages.ghci.flags.internal-interpreter = true;
115122}