Infrastructure deal hammered out