using -no-user-package-db for GHC >= 7.6.
This commit is contained in:
parent
7694057858
commit
04a02dcbc6
@ -168,5 +168,5 @@ preBrowsedModules = [
|
|||||||
|
|
||||||
ghcPackageConfOptions :: Int -> String -> [String]
|
ghcPackageConfOptions :: Int -> String -> [String]
|
||||||
ghcPackageConfOptions ver file
|
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"]
|
| otherwise = ["-package-conf", file, "-no-user-package-conf"]
|
||||||
|
Loading…
Reference in New Issue
Block a user