Steady-state nuclear fusion in accreting neutron-star envelopes