summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColby Dehart <colbydehart@gmail.com>2018-06-01 11:56:47 -0400
committerColby Dehart <colbydehart@gmail.com>2018-06-01 11:56:47 -0400
commitd760558007631294673171451f72fc4c2f5a89a7 (patch)
tree2aa8c33ba8602e3e8866ba5f295a6655fbd389be
parent801c12a8813deb6ab20107fe8de979b86297b536 (diff)
downloadale-d760558007631294673171451f72fc4c2f5a89a7.zip
added mix build path env var to the mix compile
-rw-r--r--ale_linters/elixir/mix.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/elixir/mix.vim b/ale_linters/elixir/mix.vim
index 41cd18a0..d31dbb28 100644
--- a/ale_linters/elixir/mix.vim
+++ b/ale_linters/elixir/mix.vim
@@ -31,7 +31,7 @@ endfunction
function! ale_linters#elixir#mix#Command(buffer) abort
let l:project_dir = fnamemodify(ale#path#FindNearestFile(a:buffer, 'mix.exs'), ':h')
- return 'cd ' . l:project_dir . ' && mix compile %s'
+ return 'cd ' . l:project_dir . ' && MIX_BUILD_PATH=/tmp/mix mix compile %s'
endfunction
call ale#linter#Define('elixir', {