diff --git a/core/GhcMod/Target.hs b/core/GhcMod/Target.hs index d4f4235..4a797c0 100644 --- a/core/GhcMod/Target.hs +++ b/core/GhcMod/Target.hs @@ -164,7 +164,7 @@ runGmlTWith efnmns' mdf wrapper action = do cfns <- mapM getCanonicalFileNameSafe ccfns let serfnmn = Set.fromList $ map Right mns ++ map Left cfns opts <- targetGhcOptions crdl serfnmn - let opts' = opts ++ ["-O0"] ++ optGhcUserOptions + let opts' = opts ++ ["-O0", "-fno-missing-home-modules"] ++ optGhcUserOptions gmVomit "session-ghc-options"