And yet it's a tacit agreement among nuclear nations to not sell military nuclear equipment to non-nuclear nations (ie who don't have at least a civilian program).
Which is why North Korea for ex has never been able to buy nuclear equipment from China or Russia. So far, because now that the US has decided breaking the rule for a short term financial gain was worth it, other's will decide that they might as well help their own allies too with a few reactors.