Hadrian: correct deps for ghc builder.
authorDavid Eichmann <EichmannD@gmail.com>
Fri, 29 Mar 2019 12:30:54 +0000 (12:30 +0000)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Tue, 2 Apr 2019 00:13:55 +0000 (20:13 -0400)
commitdd9c82ef38e87ede01d81907c5037845f2944435
tree0d0fd92ebe21bcdfcbe4b923bb8c0f8298271da2
parent7cf5ba3dba88356571197b470556e888581212d7
Hadrian: correct deps for ghc builder.

Previously, when needing ghc as a builder, the ghcDeps (Files
the GHC binary depends on) for the current stage were needed.
This is incorrect as the previous stage's ghc is used for building.
This commit fixes the issue, needing the previous stage's ghcDeps.
hadrian/src/Builder.hs