The 20-year-old has impressed for the Steelmen after a successful spell on loan with Alloa Athletic in the first half of the season.
Hastie has been nominated for PFA Scotland Young Player of the Year, with the winner to be announced on Sunday evening.
Earlier this year Rangers confirmed that Kilmarnock's Jordan Jones had also agreed a move to link up with Steven Gerrard's team in the summer.