Already done, but not with a nuke.
Obviously I'm refering to the successful Deep Impact mission
with it's copper projectile unintentionally substituting for a
low-yield nuke. The result?...The Delt Vee for the comet nuclei
was estimated to be in the micrometers per second. You wouldn't notice
any detectable change in its orbit even with the most sensitive
astronomy equipment available to us.
