fcf22c560b4ad8498509439ac5998c376c2098e4
[hadrian.git] / src / Settings / Builders / GhcPkg.hs
1 module Settings.Builders.GhcPkg (ghcPkgArgs) where
2
3 import Builder
4 import Expression
5 import Predicates
6 import Settings.Util
7 import Settings.Builders.GhcCabal
8
9 ghcPkgArgs :: Args
10 ghcPkgArgs = stagedBuilder GhcPkg ? do
11 path <- getTargetPath
12 mconcat [ arg "update"
13 , arg "--force"
14 , stage0 ? bootPackageDbArgs
15 , arg $ path -/- "inplace-pkg-config" ]