From f1b68d5adf1f1055f0160708e6064a1131b7a2bb Mon Sep 17 00:00:00 2001 From: Kazu Yamamoto Date: Mon, 19 Dec 2011 15:54:46 +0900 Subject: [PATCH] adding the current dir to import dirs. --- Cabal.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cabal.hs b/Cabal.hs index 320b617..d7307a9 100644 --- a/Cabal.hs +++ b/Cabal.hs @@ -18,7 +18,7 @@ import Types ---------------------------------------------------------------- importDirs :: [String] -importDirs = ["..","../..","../../..","../../../..","../../../../.."] +importDirs = [".","..","../..","../../..","../../../..","../../../../.."] initializeGHC :: Options -> FilePath -> [String] -> Bool -> Ghc (FilePath,LogReader) initializeGHC opt fileName ghcOptions logging = do