Xmobar 0.22

Requires mtl 2.2, so I moved it to all-packages and gave it that... Also disabled testing because doctest (used by distributive) uses the GHC API.

Is there a better way?

CC @peti @rejuvyesh
Why don't you pass these packages as arguments to the function, i.e. in line 2708?