diff --git a/src/Settings/Builders/GhcCabal.hs b/src/Settings/Builders/GhcCabal.hs index 7bd53087fe..654b3ec2fa 100644 --- a/src/Settings/Builders/GhcCabal.hs +++ b/src/Settings/Builders/GhcCabal.hs @@ -18,6 +18,8 @@ ghcCabalBuilderArgs = mconcat path <- getContextPath stage <- getStage mconcat [ arg "configure" + , arg "--basedir" + , arg =<< pkgPath <$> getPackage , arg "--cabal-file" , arg =<< fromJust . pkgCabalFile <$> getPackage , arg "--distdir"