hackage2nix: implement support for generating multiple versions