Merge pull request #199960 from wesleyjrz/fix/sumneko-lua-language-server
sumneko-lua-language-server: set logpath and metapath to `$XDG_CACHE_HOME` if set
This commit is contained in:
commit
46d7d19c1b
1 changed files with 2 additions and 2 deletions
|
@ -66,8 +66,8 @@ stdenv.mkDerivation rec {
|
|||
makeWrapper "$out"/share/lua-language-server/bin/lua-language-server \
|
||||
$out/bin/lua-language-server \
|
||||
--add-flags "-E $out/share/lua-language-server/main.lua \
|
||||
--logpath='\$XDG_CACHE_HOME/sumneko_lua/log' \
|
||||
--metapath='\$XDG_CACHE_HOME/sumneko_lua/meta'"
|
||||
--logpath=\''${XDG_CACHE_HOME:-\$HOME/.cache}/sumneko_lua/log \
|
||||
--metapath=\''${XDG_CACHE_HOME:-\$HOME/.cache}/sumneko_lua/meta"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue