THere's not much to choose between either aircraft
From my uneducated position it would seem there is quite a bit to choose between them, as the Rafale has a carrier variant (a stated Indian requirement, google "Indian IAC"), whereas the Eurofighter does not.
So either the Indians do what we are attempting (and seemingly finding it too expensive/difficult) and buy both a land based aircraft and a different carrier aircraft, or they do what the French have done and buy one that does both.
The whole life costs of running 1 fleet versus 2 ought to make a small difference in purchase price negligible. Assuming, of course, that cost is a factor rather than political machinations
Nick