I worked with a great Nigerian dev some years ago. He contracted for us to do our frontend work. The stories this dude told were insane. He lived in Lagos, notorious for traffic jams. He would frequently get stuck in multi-hour long traffic jams just trying to get fuel for his electric generator. He had to do this to keep his power on during the routine black/brown outs that plagued the city, so that he could continue to work. He eventually, thanks to his work, was able to move to a nicer part of the city where the electricity was more reliable.
Last I heard he and his GF/wife (I don't recall which) were able to immigrate to Dubai, where he's continuing to work as a contractor for western clients, with an eye to eventually immigrating to Europe or the US.
I wish him well, but it is a damn shame that the best option for Nigerians who wish to engage in this type of work is to...leave.