forked from mirrors/nixpkgs
sumneko-lua-language-server: set logpath and metapath to $XDG_CACHE_HOME
if set
This commit is contained in:
parent
0adce209ff
commit
17c250135f
|
@ -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