diff options
author | Matthieu C. <886074+teto@users.noreply.github.com> | 2024-06-10 15:53:57 +0200 |
---|---|---|
committer | Matthieu Coudron <886074+teto@users.noreply.github.com> | 2024-06-11 00:06:06 +0200 |
commit | ceed00619924291ce135fa1881d656f7e5eec1d8 (patch) | |
tree | 22c11ca5038f7f670fc9c5d6276a0d1d1fbae37c /pkgs/applications/editors | |
parent | 0c1ce3520b22b09db55ba4fcec3f4d1ba8dbfa8b (diff) |
neovim: remove warning about --replace
by using --replace-warn
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/neovim/wrapper.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/editors/neovim/wrapper.nix b/pkgs/applications/editors/neovim/wrapper.nix index 391bf102f749b..e877f1e1f764a 100644 --- a/pkgs/applications/editors/neovim/wrapper.nix +++ b/pkgs/applications/editors/neovim/wrapper.nix @@ -103,7 +103,7 @@ let postBuild = lib.optionalString stdenv.isLinux '' rm $out/share/applications/nvim.desktop substitute ${neovim-unwrapped}/share/applications/nvim.desktop $out/share/applications/nvim.desktop \ - --replace 'Name=Neovim' 'Name=Neovim wrapper' + --replace-warn 'Name=Neovim' 'Name=Neovim wrapper' '' + lib.optionalString finalAttrs.withPython3 '' makeWrapper ${python3Env.interpreter} $out/bin/nvim-python3 --unset PYTHONPATH --unset PYTHONSAFEPATH |