From 13cc59ab99f616ca2dc582b195d4cdd306453332 Mon Sep 17 00:00:00 2001 From: diniamo Date: Mon, 5 Aug 2024 14:10:31 +0200 Subject: [PATCH] feat: use `<<<` instead of `echo -n |` --- modules/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/default.nix b/modules/default.nix index a68646d..b7b0e92 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -101,7 +101,7 @@ inputs: { luaConfig = 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; extraLuaFiles =