Pakistan has nuclear weapons. Not smart picking a fight with someone who can turn your country into green glowing glass.
There are a lot of reasons for Pakistan not to use nukes. Including a neighbor with a lot of nukes. India may not care about Iran, but they may find Pakistan using nukes at all and irresistible provocation.