overlays: add gruvbox-nvin-expose-palette
This commit is contained in:
parent
0ff8366105
commit
c0ef5c9275
4
overlays/gruvbox-nvin-expose-palette/default.nix
Normal file
4
overlays/gruvbox-nvin-expose-palette/default.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
self: prev:
|
||||
{
|
||||
vimPlugins = prev.vimPlugins.extend (self.callPackage ./generated.nix { });
|
||||
}
|
14
overlays/gruvbox-nvin-expose-palette/generated.nix
Normal file
14
overlays/gruvbox-nvin-expose-palette/generated.nix
Normal 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=";
|
||||
})
|
||||
];
|
||||
});
|
||||
}
|
Loading…
Reference in a new issue