Fix various Haskell packages for 7.8
Merge pull request #3294 from nilcons/haskellfixes

Fix various Haskell packages for 7.8