The cellular environment shapes the nuclear pore complex architecture