Freeze Hackage index state when building Haskell tools

Necessary as currently yaml doesn't build against aeson-2.0

(cherry picked from commit c3194725)
2 jobs for wip/bump-9.0 in 1 minute and 23 seconds (queued for 6 minutes and 20 seconds)