feat: use <<< instead of echo -n |

This commit is contained in:
diniamo 2024-08-05 14:10:31 +02:00
parent 97d49d331c
commit 13cc59ab99

View file

@ -101,7 +101,7 @@ inputs: {
luaConfig = luaConfig =
if vimOptions.byteCompileLua if vimOptions.byteCompileLua
then pkgs.runCommandLocal "init.lua" {text = vimOptions.builtLuaConfigRC;} "echo -n \"$text\" | ${pkgs.luajit}/bin/luajit -bd -- - $out" then pkgs.runCommandLocal "init.lua" {text = vimOptions.builtLuaConfigRC;} "${pkgs.luajit}/bin/luajit -bd -- - $out <<< \"$text\""
else pkgs.writeText "init.lua" vimOptions.builtLuaConfigRC; else pkgs.writeText "init.lua" vimOptions.builtLuaConfigRC;
extraLuaFiles = extraLuaFiles =