Skip to content

Commit

Permalink
Provide the cabal configuration with the proper --basedir
Browse files Browse the repository at this point in the history
  • Loading branch information
angerman committed Nov 8, 2017
1 parent d512b30 commit 94d8ab9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Settings/Builders/GhcCabal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 94d8ab9

Please sign in to comment.