Conor McGregor and Nate Diaz agreed to fight at UFC 202.