From 011a435bd281c2abd5e24b57b82d630111b548d8 Mon Sep 17 00:00:00 2001 From: m3l6h <8094643+M3L6H@users.noreply.github.com> Date: Sat, 16 Aug 2025 06:16:41 -0500 Subject: [PATCH] (vimPlugins.nvzone-volt): fix pname The nvzone plugins were named with an `nvzone` prefix due to how generic the individual plugins are: https://github.com/NixOS/nixpkgs/pull/357120 This caused their pnames to also have an `nvzone` prefix. However, plugin managers like Lazy.nvim expect pname to match the name of the git repository, hence the override of pname in this commit. --- pkgs/applications/editors/vim/plugins/overrides.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index eca499288cb4..7fa406a6a28c 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -2786,6 +2786,11 @@ in dependencies = [ self.nvzone-volt ]; }; + nvzone-volt = super.nvzone-volt.overrideAttrs { + # Plugin managers like Lazy.nvim expect pname to match the name of the git repository + pname = "volt"; + }; + obsidian-nvim = super.obsidian-nvim.overrideAttrs { checkInputs = with self; [ # Optional pickers