hackage-packages.nix: regenerate with hackage2nix
haskell-modules: add compat layer that defines the obsolete attribute names