using -no-user-package-db for GHC >= 7.6.

This commit is contained in:
Kazu Yamamoto 2013-04-24 14:58:14 +09:00
parent 7694057858
commit 04a02dcbc6

View File

@ -168,5 +168,5 @@ preBrowsedModules = [
ghcPackageConfOptions :: Int -> String -> [String]
ghcPackageConfOptions ver file
| ver >= 706 = ["-package-db", file, "-no-user-package-conf"]
| ver >= 706 = ["-package-db", file, "-no-user-package-db"]
| otherwise = ["-package-conf", file, "-no-user-package-conf"]