diff --git a/Cabal/Distribution/Simple/Program/GHC.hs b/Cabal/Distribution/Simple/Program/GHC.hs index 55f5fa5ac58b3080498f27fc182253f8275aefad..2de091ff6ff346729d4b571f3be516d9c9de8532 100644 --- a/Cabal/Distribution/Simple/Program/GHC.hs +++ b/Cabal/Distribution/Simple/Program/GHC.hs @@ -90,6 +90,10 @@ data GhcOptions = GhcOptions { -- is. This only gets set when 'ghcOptInstantiatedWith' is non-empty ghcOptThisComponentId :: Flag ComponentId, + -- | How the requirements of the package being compiled are to + -- be filled. When typechecking an indefinite package, the 'OpenModule' + -- is always a 'OpenModuleVar'; otherwise, it specifies the installed module + -- that instantiates a package. ghcOptInstantiatedWith :: [(ModuleName, OpenModule)], -- | No code? (But we turn on interface writing