plugins/committia: use gitPackage

This commit is contained in:
Austin Horstman 2024-08-29 14:56:01 -05:00
parent 38bc0b88e9
commit 82b899ab6d
No known key found for this signature in database
2 changed files with 18 additions and 1 deletions

View file

@ -9,7 +9,6 @@ helpers.vim-plugin.mkVimPlugin config {
originalName = "committia.vim";
defaultPackage = pkgs.vimPlugins.committia-vim;
globalPrefix = "committia_";
extraPackages = [ pkgs.git ];
maintainers = [ helpers.maintainers.alisonjenkins ];
@ -47,4 +46,15 @@ helpers.vim-plugin.mkVimPlugin config {
Minimum height of a status window.
'';
};
extraOptions = {
gitPackage = helpers.mkPackageOption {
name = "git";
default = pkgs.git;
};
};
extraConfig = cfg: {
extraPackages = [ cfg.gitPackage ];
};
}