diff options
author | Mateusz Kowalczyk <mk440@bath.ac.uk> | 2014-10-24 06:37:02 +0100 |
---|---|---|
committer | Mateusz Kowalczyk <mk440@bath.ac.uk> | 2014-10-24 06:37:02 +0100 |
commit | 25e552664a7d3475fd7d3a7b3c893c10068c063a (patch) | |
tree | 2bad6bb63e4a127da80db9535a2af21a703af90b /pkgs/development/interpreters/elixir | |
parent | f70140c9dbe45b5b7180495aad78105949462b92 (diff) | |
parent | e4d98459d7d3dc8a1cd7d0c65a217b09fa549fa7 (diff) | |
download | nixlib-25e552664a7d3475fd7d3a7b3c893c10068c063a.tar nixlib-25e552664a7d3475fd7d3a7b3c893c10068c063a.tar.gz nixlib-25e552664a7d3475fd7d3a7b3c893c10068c063a.tar.bz2 nixlib-25e552664a7d3475fd7d3a7b3c893c10068c063a.tar.lz nixlib-25e552664a7d3475fd7d3a7b3c893c10068c063a.tar.xz nixlib-25e552664a7d3475fd7d3a7b3c893c10068c063a.tar.zst nixlib-25e552664a7d3475fd7d3a7b3c893c10068c063a.zip |
Merge pull request #4479 from sjmackenzie/elixir-mix-fix
Elixir's mix shouldn't be added to wrapProgram
Diffstat (limited to 'pkgs/development/interpreters/elixir')
-rw-r--r-- | pkgs/development/interpreters/elixir/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/interpreters/elixir/default.nix b/pkgs/development/interpreters/elixir/default.nix index 7a4251406840..378edfaf3432 100644 --- a/pkgs/development/interpreters/elixir/default.nix +++ b/pkgs/development/interpreters/elixir/default.nix @@ -28,8 +28,9 @@ stdenv.mkDerivation { # Elixir binaries are shell scripts which run erl. Add some stuff # to PATH so the scripts can run without problems. - for f in $out/bin/* - do + for f in $out/bin/*; do + b=$(basename $f) + if [ $b == "mix" ]; then continue; fi wrapProgram $f \ --prefix PATH ":" "${erlang}/bin:${coreutils}/bin:${curl}/bin:${bash}/bin" \ --set CURL_CA_BUNDLE "${cacert}/etc/ca-bundle.crt" |