Renewable prices are computed as : "I put $XXX and got this much electricity during the year, so price per watt is $YYY -> renewable is cheap"
That calculation is not reflective of the reality of the needs. People - and anyone in charge of maintaining a power grid - think like so :
"I need YYY watts of electricity now, how much $XXX do I need to put down to get it ?"
That amount is massively higher in price per watt with renewable, because renewable can sometime works at >90% of their potential, and provide cheap and abundant electricity or they can decide to work at < 1% and be completely useless. And I have never seen anyone advocating for renewable that is willing to say "Please do cut my home line to save electricity when it's dark and windless - even in November - if batteries are low. I think it's better than building reliable backup supply".
Nuclear is the preferred choice here because you are going to get electricity in those situation at the push of a button. Maybe prices will be higher than the price per watt of renewable, but it will provide electricity when no amount of wind farms and solar panels are going to do the job. Meaning when prices of renewable are approaching infinity. In that case, expensive nuclear is still cheaper than failing renewable. Batteries can help renewable, but no one in anywhere near the ability to store energy for a whole country for weeks in cold countries, when days are very short and wind can just decide to stop blowing. There are other options than nuclear - like the usual coal, gas and oil, but they have their own problems - like CO2 emission. Other options include geothermal and hydro but they have ecological aspects as well, and tend to be more expensive than nuclear.