From bfb8ada774c3cd1501fb6b342cf159489ba7b0cd Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Tue, 3 Oct 2023 19:48:09 +0200 Subject: [PATCH] fix: stop using deprecated buildVimPluginFrom2Nix --- modules/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/default.nix b/modules/default.nix index 815055c9..c58f17d0 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -7,7 +7,7 @@ inputs: { }: let inherit (pkgs) neovim-unwrapped wrapNeovim vimPlugins; inherit (builtins) map filter isString toString getAttr; - inherit (pkgs.vimUtils) buildVimPluginFrom2Nix; + inherit (pkgs.vimUtils) buildVimPlugin; extendedLib = import ../lib/stdlib-extended.nix lib; @@ -23,7 +23,7 @@ inputs: { buildPlug = {pname, ...} @ args: assert lib.asserts.assertMsg (pname != "nvim-treesitter") "Use buildTreesitterPlug for building nvim-treesitter."; - buildVimPluginFrom2Nix (args + buildVimPlugin (args // { version = "master"; src = getAttr pname inputs;