From 12b624cb021221ba89d91b7e2bdff7dbed17f4b6 Mon Sep 17 00:00:00 2001 From: Agustin Mista Date: Thu, 11 Jun 2026 20:41:55 +0200 Subject: [PATCH] vimPlugins.copilot-cmp: patch deprecated function call --- pkgs/applications/editors/vim/plugins/overrides.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 1ec5967d4459..d94ebe53b78b 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -1014,6 +1014,13 @@ assertNoAdditions { copilot-cmp = super.copilot-cmp.overrideAttrs { dependencies = [ self.copilot-lua ]; + patches = [ + (fetchpatch { + name = "fix-deprecated-function-call.patch"; + url = "https://github.com/zbirenbaum/copilot-cmp/commit/06430ebf99834ebc5d86c63816e409f4cb51fe79.patch"; + sha256 = "sha256-YOJPFC+qbyURFU58tAiAqbamQLmi7ovnJGkOeOTUPH0="; + }) + ]; }; copilot-lualine = super.copilot-lualine.overrideAttrs {