I think this is fixed in newer versions of yesod, so this commit can be reverted when dropping support for Debian wheezy.