Fix Hadrian build with Stack (#17189)
Fix Hadrian build with Stack (#17189)

Broken by 2b37a79d61e9b3787873dc9f7458ef2bde4809b0

sdiehl/ghc,sdiehl/ghc,sdiehl/ghc,sdiehl/ghc,sdiehl/ghc,sdiehl/ghc,sdiehl/ghc