From d760558007631294673171451f72fc4c2f5a89a7 Mon Sep 17 00:00:00 2001 From: Colby Dehart Date: Fri, 1 Jun 2018 11:56:47 -0400 Subject: [PATCH] added mix build path env var to the mix compile --- ale_linters/elixir/mix.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', {