Lawmakers have agreed to lift the four-decade-old ban on crude oil exports as part of a spending and tax package announced by congressional leadership on Tuesday night, according to a GOP lawmaker.