> But the problem is NOT with that import. It's with the OPTIONS_GHC in > GHC.Internal.Classes, which is not in the external-modules section.
Indeed. Hadrian is not smart enough to give us an error here if we attempt to build a module that isn't included in the .cabal file. But if something is bringing it in while building stuff from `ghc-boot-th-next` then the error is that this module is being built. We really shouldn't be building it and we shouldn't need to. At this stage we just want to get the definitions from these TemplateHaskell files and we do not want to build large sections of `ghc-internal`. Perhaps you can look in the: _build/stage0/libraries/ghc-boot-th-next/.dependencies.mk makefile and seeing which module is bringing in this dependency and then getting rid of that edge.
_______________________________________________ ghc-devs mailing list -- [email protected] To unsubscribe send an email to [email protected]
