about summary refs log tree commit diff
path: root/pkgs/development/interpreters
diff options
context:
space:
mode:
authorstewart <stewart@chaatz.com>2014-10-11 14:49:05 +0000
committerstewart <stewart@chaatz.com>2014-10-11 14:49:05 +0000
commite4d98459d7d3dc8a1cd7d0c65a217b09fa549fa7 (patch)
treeda98a36335238923ce3dc540a13767207a60b549 /pkgs/development/interpreters
parent01854619cd5a39ae4c62180c66e46097101a1119 (diff)
downloadnixlib-e4d98459d7d3dc8a1cd7d0c65a217b09fa549fa7.tar
nixlib-e4d98459d7d3dc8a1cd7d0c65a217b09fa549fa7.tar.gz
nixlib-e4d98459d7d3dc8a1cd7d0c65a217b09fa549fa7.tar.bz2
nixlib-e4d98459d7d3dc8a1cd7d0c65a217b09fa549fa7.tar.lz
nixlib-e4d98459d7d3dc8a1cd7d0c65a217b09fa549fa7.tar.xz
nixlib-e4d98459d7d3dc8a1cd7d0c65a217b09fa549fa7.tar.zst
nixlib-e4d98459d7d3dc8a1cd7d0c65a217b09fa549fa7.zip
Elixir's mix shouldn't be added to wrapProgram
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r--pkgs/development/interpreters/elixir/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/interpreters/elixir/default.nix b/pkgs/development/interpreters/elixir/default.nix
index 9a5d2417df7b..e3aa25cecbcf 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"