overlays: add gruvbox-nvin-expose-palette

This commit is contained in:
Bruno BELANYI 2024-03-13 11:54:50 +00:00
parent 0ff8366105
commit c0ef5c9275
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,4 @@
self: prev:
{
vimPlugins = prev.vimPlugins.extend (self.callPackage ./generated.nix { });
}

View File

@ -0,0 +1,14 @@
{ fetchpatch, ... }:
_final: prev: {
gruvbox-nvim = prev.gruvbox-nvim.overrideAttrs (oa: {
patches = (oa.patches or [ ]) ++ [
# https://github.com/ellisonleao/gruvbox.nvim/pull/319
(fetchpatch {
name = "expose-color-palette.patch";
url = "https://github.com/ellisonleao/gruvbox.nvim/commit/07a493ba4f8b650aab9ed9e486caa89822be0996.patch";
hash = "sha256-iGwt8qIHe2vaiAUcpaUxyGlM472F89vobTdQ7CF/H70=";
})
];
});
}