From 85b85bec8abc57b903128e401412f2616ba1fdaf Mon Sep 17 00:00:00 2001 From: iofq Date: Sat, 26 Oct 2024 14:27:13 -0500 Subject: [PATCH] fix deprecated packpathDirs in upstream mkNeovimConfig --- nix/mkNeovim.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nix/mkNeovim.nix b/nix/mkNeovim.nix index a5e5036..95975ff 100644 --- a/nix/mkNeovim.nix +++ b/nix/mkNeovim.nix @@ -66,6 +66,10 @@ with lib; plugins = normalizedPlugins; }; + packDir = pkgs.neovimUtils.packDir({ + myNeovimPackages = pkgs.neovimUtils.normalizedPluginsToVimPackage normalizedPlugins; + }); + # This uses the ignoreConfigRegexes list to filter # the nvim directory nvimRtpSrc = let @@ -120,7 +124,7 @@ with lib; }, }, dev = { - path = "${pkgs.neovimUtils.packDir neovimConfig.packpathDirs}/pack/myNeovimPackages/start", + path = "${packDir}/pack/myNeovimPackages/start", patterns = {""}, }, checker = {