summaryrefslogtreecommitdiff
path: root/compiler/GHC.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC.hs')
-rw-r--r--compiler/GHC.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC.hs b/compiler/GHC.hs
index fb63b10785..9e247012cf 100644
--- a/compiler/GHC.hs
+++ b/compiler/GHC.hs
@@ -663,7 +663,7 @@ setSessionDynFlags dflags0 = do
, iservConfOpts = getOpts dflags opt_i
, iservConfProfiled = profiled
, iservConfDynamic = dynamic
- , iservConfHook = createIservProcessHook (hooks dflags)
+ , iservConfHook = createIservProcessHook (hsc_hooks hsc_env)
, iservConfTrace = tr
}
s <- liftIO $ newMVar IServPending