modules: use writeDashBin for helpers

This commit is contained in:
raf 2024-07-20 15:34:35 +03:00
parent e673552df6
commit 51155a32ed
Signed by: NotAShelf
GPG key ID: AF26552424E53993

View file

@ -108,13 +108,13 @@ inputs: {
# Additional helper scripts for printing and displaying nvf configuration
# in your commandline.
printConfig = pkgs.writeShellScriptBin "print-nvf-config" ''
printConfig = pkgs.writers.writeDashBin "print-nvf-config" ''
cat << EOF
${vimOptions.builtLuaConfigRC}
EOF
'';
printConfigPath = pkgs.writeShellScriptBin "print-nvf-config-path" ''
printConfigPath = pkgs.writers.writeDashBin "print-nvf-config-path" ''
realpath ${pkgs.writeTextFile {
name = "nvf-init.lua";
text = vimOptions.builtLuaConfigRC;