Both are good options, although there are differences. While a staple gives a stronger and tighter hold because of its two ends, a nail makes for a more natural expansion and contraction of wood.