fix: stop using deprecated buildVimPluginFrom2Nix

This commit is contained in:
jacekpoz 2023-10-03 19:48:09 +02:00
parent 6d53aa7b05
commit bfb8ada774
No known key found for this signature in database
GPG key ID: 94E812A8B12AAE3C

View file

@ -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;