hackage2nix.hs: fix GHC and hlint warnings