Callum Paterson turned in Aaron Nemane’s low cross and then Rushan Hepburn-Murphy fired in from distance to put the hosts in a commanding position at half-time.
But the Spireites fought back in the second-half when debutant Sam Curtis headed in Liam Mandeville’s free-kick on 67 minutes and then substitute Will Grigg headed home Mandeville’s corner in the 94th minute.
The Spireites, who climbed to seventh, announced three new loan signings in Curtis, Sil Swinkels and Sammy Braybrooke before kick-off and they all started.
Here are our player ratings from the game...

13. Dylan Duffy 6
Replaced Lewis at half-time and filled in at left-back. Town didn't make the most of his introduction and he wasn't able to influence the game going forward. Photo: Tina Jenner

14. Will Grigg 7
Replaced Bonis on 65 and headed the equaliser in the 94th minute against his old club. Photo: Leila Coker

15. Freddie Ladapo 6
The experienced striker made his debut off the bench on 65, replacing Darcy. Came close to turning in a low cross from Berry. Photo: Paul Harding

16. Vontae Daley-Campbell 6
On for Curtis with 15 to go. A late cross almost crept in. Photo: Tina Jenner

