The role of neutron star mergers in the chemical evolution of the Galactic halo