I looked into some numbers on this, comparing theoretical costs of nuclear power with a solar PV solution on Mars. Kilopower (NASA's research project for a Martian nuclear fission reactor, from the article): 7,200 kg for 40 kW. [1] ISS solar arrays: 14,515 kg for ~100 kW in Earth orbit. [2] If we assume 40-50% Earth solar insolation on Martian surface, the ISS PV array probably isn't far off 40 kW output on Mars Conc…
Dust will need to be cleaned off of the panels daily, which adds further expense associated with dedicated external missions to the array of panels.
Most of the ancillary considerations weigh in favor of the nuclear option.