Nintendo can't do anything about people selling hacks unfortunately.
It's not even the hackers that sell them. People download the hacks, put them onto flashcards and sell them. Actually, if Nintendo did know about ROM hackers, we'd probably all get sued xD