From 596f6a22f68cf5cb9e0f921e57c20e86870449e6 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Sun, 22 Dec 2024 12:59:26 -0500 Subject: [PATCH] chore(nvim): override theme version attr --- homeManagerModules/neovim/theme/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/homeManagerModules/neovim/theme/default.nix b/homeManagerModules/neovim/theme/default.nix index b8327446..cf8c581b 100644 --- a/homeManagerModules/neovim/theme/default.nix +++ b/homeManagerModules/neovim/theme/default.nix @@ -5,6 +5,8 @@ self: { ... }: let inherit (self.inputs) nvim-theme-src; + inherit (self.lib.${pkgs.system}) mkVersion; + inherit (lib) attrValues fileContents mkIf; cfg = config.programs.neovim; @@ -19,9 +21,10 @@ in { plugins = [ { - plugin = pkgs.vimPlugins.dracula-nvim.overrideAttrs { + plugin = pkgs.vimPlugins.dracula-nvim.overrideAttrs (o: { + name = "vimplugin-${o.pname}-${mkVersion nvim-theme-src}"; src = nvim-theme-src; - }; + }); type = "lua"; config = # lua