Indeed, I was playing fast and loose with the definition of resource, but I think in this case it can be considered as such.
So we use some of the power to run a desalination plant to provide the water, and the rest of the energy we use in-country or export. Given a 100 square mile facility, underneath we've just added almost 100 square miles of quality agriculture in a country that has very limited resources, and we've begun to replace the oil-export economy with a real production economy that actually employs people. (I'll note that we also have to figure out what to do with the higher-salinity water - that's a potential eco problem.)
This system could be expanded gradually, even possibly to thousands of square miles. Solar power costs are already getting close to competitive with thermal power plants, and by synergizing the real estate this way it could make a real difference to the folks in North Africa, for instance. It also has a social benefit, as it employs workers.
Many of the breadbaskets are in higher latitudes - India and central Africa are the exceptions - and receive much less light. A Sahara growing facility has more sunlight than is really necessary for most plants.