Let's build it on the crest of a lunar crater. Wafers on the shade side and solar panels on the sunny one. “Just” add some $Bs to send the stuff up in the space.
Shaded or not, cooling is actually a problem in space because radiating heat in to a "vacuum" is hard. Even a warm atmosphere is easier to transfer heat to than almost nothing.
Now a ground source heat pump could be interesting as long as it's not too hard to drill for the plumbing.
Now a ground source heat pump could be interesting as long as it's not too hard to drill for the plumbing.