Mercury doesn't keep the same side to the sun all the time. So you'd need to either bury everything deep enough (obviously not possible for solar cells), or keep them such that they're always on the terminator. The latter has been explored in Kim Stanley Robinson's work, 2312.