vimPlugins.diffview-nvim: add plenary as dependency

This commit is contained in:
Matthieu Coudron 2022-05-11 23:17:54 +02:00
parent d4286966e3
commit e373b1a746
2 changed files with 16 additions and 1 deletions

View File

@ -2143,7 +2143,7 @@ final: prev:
meta.homepage = "https://github.com/nvim-lua/diagnostic-nvim/";
};
diffview-nvim = buildVimPluginFrom2Nix {
diffview-nvim = buildNeovimPluginFrom2Nix {
pname = "diffview.nvim";
version = "2022-05-09";
src = fetchFromGitHub {

View File

@ -230,6 +230,13 @@ self: super: {
};
});
diffview-nvim = super.diffview-nvim.overrideAttrs (oa: {
dependencies = with self; [ plenary-nvim ];
doInstallCheck = true;
nvimRequireCheck = "diffview";
});
direnv-vim = super.direnv-vim.overrideAttrs (oa: {
preFixup = oa.preFixup or "" + ''
substituteInPlace $out/autoload/direnv.vim \
@ -316,6 +323,10 @@ self: super: {
configurePhase = "cd plugins/nvim";
});
gitlinker-nvim = super.gitlinker-nvim.overrideAttrs (old: {
dependencies = with self; [ plenary-nvim ];
});
gitsigns-nvim = super.gitsigns-nvim.overrideAttrs (old: {
dependencies = with self; [ plenary-nvim ];
});
@ -526,6 +537,10 @@ self: super: {
});
});
octo-nvim = super.octo-nvim.overrideAttrs (old: {
dependencies = with self; [ telescope-nvim plenary-nvim ];
});
onehalf = super.onehalf.overrideAttrs (old: {
configurePhase = "cd vim";
});