summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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', {