Issue
You want to expose, or add to, environment variables for subsequent buildpacks
Resolution
After running a buildpack, we source the buildpack_dir/export command, export it's environment and provide the vars set there to all further buildpacks.
The following would provide the FOO environment variable to the next buildpacks:
export FOO=BAR