mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-07 20:35:59 +01:00
modules: use writeDashBin for helpers
This commit is contained in:
parent
e673552df6
commit
51155a32ed
1 changed files with 2 additions and 2 deletions
|
@ -108,13 +108,13 @@ inputs: {
|
||||||
|
|
||||||
# Additional helper scripts for printing and displaying nvf configuration
|
# Additional helper scripts for printing and displaying nvf configuration
|
||||||
# in your commandline.
|
# in your commandline.
|
||||||
printConfig = pkgs.writeShellScriptBin "print-nvf-config" ''
|
printConfig = pkgs.writers.writeDashBin "print-nvf-config" ''
|
||||||
cat << EOF
|
cat << EOF
|
||||||
${vimOptions.builtLuaConfigRC}
|
${vimOptions.builtLuaConfigRC}
|
||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
|
|
||||||
printConfigPath = pkgs.writeShellScriptBin "print-nvf-config-path" ''
|
printConfigPath = pkgs.writers.writeDashBin "print-nvf-config-path" ''
|
||||||
realpath ${pkgs.writeTextFile {
|
realpath ${pkgs.writeTextFile {
|
||||||
name = "nvf-init.lua";
|
name = "nvf-init.lua";
|
||||||
text = vimOptions.builtLuaConfigRC;
|
text = vimOptions.builtLuaConfigRC;
|
||||||
|
|
Loading…
Reference in a new issue