diff --git a/CabalDev.hs b/CabalDev.hs index f6deb0b..a76485c 100644 --- a/CabalDev.hs +++ b/CabalDev.hs @@ -34,7 +34,7 @@ findCabalDev Nothing = getCurrentDirectory >>= searchIt . splitPath addPath :: Options -> String -> Options addPath orig_opts path = do let orig_ghcopt = ghcOpts orig_opts - orig_opts { ghcOpts = orig_ghcopt ++ ["-package-conf", path] } + orig_opts { ghcOpts = orig_ghcopt ++ ["-package-conf", path, "-no-user-package-conf"] } searchIt :: [FilePath] -> IO FilePath searchIt [] = throwIO $ userError "Not found"