git.iko.soy/heroku-buildpack-stack
on master help sign in
Use the $PATH at runtime for .profile.d scripts

Setting PATH to $PATH for .profile.d scripts will include the build time PATH and not the one at runtime. This means this buildpack will override any PATH'ng set by any other buildpacks if the .profile.d script is run after.

commit21d219b3aa082a8be4bf773debb1346ba0b8df49 authorTerence Lee <hone02@gmail.com> dateWed 20 Dec 2017, 19:12 (9 years ago) parentd369642
1 file changed+1−1
bin/compile+1−1
bin/compile+1−1
@@ -104,7 +104,7 @@ else
104104fi
105105
106106# Set context environment variables.
107−set-env PATH "$WORK_DIR/.local/bin:$PATH"
107+set-env PATH "$WORK_DIR/.local/bin:\$PATH"
108108set-default-env LIBRARY_PATH "$WORK_DIR/vendor/ghc-libs:/usr/lib"
109109set-default-env LD_LIBRARY_PATH "$WORK_DIR/vendor/ghc-libs:/usr/lib"
110110