From 60a29d1d67e74b16e70d3ba76c18c48b25f5fc76 Mon Sep 17 00:00:00 2001 From: linsui Date: Tue, 20 Jun 2023 03:05:34 +0800 Subject: [PATCH] vimPlugins.clipboard-image-nvim: fix for neovim 9.0 --- pkgs/applications/editors/vim/plugins/overrides.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 602d635d2310b..fd27e0d089228 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -168,6 +168,12 @@ self: super: { ''; }); + clipboard-image-nvim = super.clipboard-image-nvim.overrideAttrs (old: { + postPatch = '' + sed -i -e 's/require "health"/vim.health/' lua/clipboard-image/health.lua + ''; + }); + cmp-clippy = super.cmp-clippy.overrideAttrs (old: { dependencies = with self; [ nvim-cmp plenary-nvim ]; });