about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMatthieu Coudron <mcoudron@hotmail.com>2023-06-30 16:25:49 +0200
committerMatthieu Coudron <mcoudron@hotmail.com>2023-06-30 16:25:49 +0200
commit087005737917978dea67287757ce2afbbbaef48d (patch)
tree0499954459cfba6c5c9f09fc1d1c9a06734b6cdc /pkgs
parent031e58e25d879ad97b1c542c60e317304328c96d (diff)
vimPlugins.alpha-nvim: add missing dependency
It's required here with no way to disable 'https://github.com/goolord/alpha-nvim/blob/9e33db324b8bb7a147bce9ea5496686ee859461d/lua/alpha/themes/startify.lua#L72'
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/editors/vim/plugins/overrides.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix
index 6481f76f5ef4b..0b2afc81f4d5f 100644
--- a/pkgs/applications/editors/vim/plugins/overrides.nix
+++ b/pkgs/applications/editors/vim/plugins/overrides.nix
@@ -128,6 +128,12 @@
 }:
 
 self: super: {
+  alpha-nvim = super.alpha-nvim.overrideAttrs(oa: {
+    dependencies = [
+      self.nvim-web-devicons # required by the startify theme
+    ];
+    nvimRequireCheck = "alpha";
+  });
 
   autosave-nvim = super.autosave-nvim.overrideAttrs(old: {
     dependencies = with super; [ plenary-nvim ];