plugins: use mkPackageOption for iconsPackage options

This commit is contained in:
Matt Sturgeon 2024-09-03 14:33:13 +01:00
parent c4a54da4a5
commit 2132702a47
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
11 changed files with 44 additions and 44 deletions

View file

@ -301,10 +301,10 @@ helpers.neovim-plugin.mkNeovimPlugin {
};
extraOptions = {
iconsPackage = helpers.mkPackageOption {
name = "nvim-web-devicons";
default = pkgs.vimPlugins.nvim-web-devicons;
};
iconsPackage = lib.mkPackageOption pkgs [
"vimPlugins"
"nvim-web-devicons"
] { nullable = true; };
};
extraConfig = cfg: {