import of hscThing needs to be conditional on GHCi status.
import DriverPhases
import DriverUtil
import Finder
import DriverPhases
import DriverUtil
import Finder
import HscMain ( initPersistentCompilerState, hscThing )
import HscMain ( initPersistentCompilerState, hscThing )
+#else
+import HscMain ( initPersistentCompilerState )
+#endif
import HscTypes
import RnEnv ( unQualInScope )
import Id ( idType, idName )
import HscTypes
import RnEnv ( unQualInScope )
import Id ( idType, idName )