hackage2nix: fix build with GHC 7.8.2