Merge pull request #4479 from sjmackenzie/elixir-mix-fix

Elixir's mix shouldn't be added to wrapProgram
This commit is contained in:
Mateusz Kowalczyk 2014-10-24 06:37:02 +01:00
commit 25e552664a

View File

@ -28,8 +28,9 @@ stdenv.mkDerivation {
# Elixir binaries are shell scripts which run erl. Add some stuff # Elixir binaries are shell scripts which run erl. Add some stuff
# to PATH so the scripts can run without problems. # to PATH so the scripts can run without problems.
for f in $out/bin/* for f in $out/bin/*; do
do b=$(basename $f)
if [ $b == "mix" ]; then continue; fi
wrapProgram $f \ wrapProgram $f \
--prefix PATH ":" "${erlang}/bin:${coreutils}/bin:${curl}/bin:${bash}/bin" \ --prefix PATH ":" "${erlang}/bin:${coreutils}/bin:${curl}/bin:${bash}/bin" \
--set CURL_CA_BUNDLE "${cacert}/etc/ca-bundle.crt" --set CURL_CA_BUNDLE "${cacert}/etc/ca-bundle.crt"