You could probably drive san sebastian spain to lagos in about 12 hours if you had your own vehicle.
It is unlikely that you could rent a hire car in San Sebastian for drop-off in Lagos unless you were prepared to pay a hefty premium.
See this article one my blog for more information.
http://bit.ly/cnxqQ5
(Note prices may have changed)