diff --git a/lib/mix/nerves/shell.ex b/lib/mix/nerves/shell.ex index 05d04a97..e180d0ee 100644 --- a/lib/mix/nerves/shell.ex +++ b/lib/mix/nerves/shell.ex @@ -24,7 +24,8 @@ defmodule Mix.Nerves.Shell do :binary, :eof, :stream, - :stderr_to_stdout + :stderr_to_stdout, + {:env, [{'PATH', sanitize_path()}]} ]) # Tell the script command about the terminal dimensions