Make sure cabal-helper is ready before invoking dumpsym

This commit is contained in:
Daniel Gröber
2015-08-14 03:48:29 +02:00
parent 312a8c81fb
commit cbfa26eb16
3 changed files with 12 additions and 0 deletions

View File

@@ -371,6 +371,7 @@ globalCommands _ = Nothing
legacyInteractive :: IOish m => GhcModT m ()
legacyInteractive = do
opt <- options
prepareCabalHelper
symdbreq <- liftIO $ newSymDbReq opt
world <- getCurrentWorld
legacyInteractiveLoop symdbreq world