Fix #487, Modules from sandbox not visible

This commit is contained in:
Daniel Gröber
2015-06-05 22:42:46 +02:00
parent 1e381a12a9
commit 49515b3eb8
5 changed files with 39 additions and 21 deletions

View File

@@ -30,11 +30,16 @@ debugInfo = do
Just _ -> cabalDebug
Nothing -> return []
pkgOpts <- packageGhcOptions
return $ unlines $
[ "Root directory: " ++ cradleRootDir
, "Current directory: " ++ cradleCurrentDir
, "GHC Package flags:\n" ++ render (nest 4 $
fsep $ map text pkgOpts)
, "GHC System libraries: " ++ ghcLibDir
, "GHC user options: " ++ render (fsep $ map text ghcUserOptions)
, "GHC user options:\n" ++ render (nest 4 $
fsep $ map text ghcUserOptions)
] ++ cabal
cabalDebug :: IOish m => GhcModT m [String]