mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 09:48:42 +02:00
lib/options: introduce new mkPackageOption for dependencies
This commit is contained in:
parent
26367692da
commit
7c4fe30f81
15 changed files with 51 additions and 85 deletions
|
@ -15,11 +15,9 @@ in
|
|||
|
||||
package = helpers.mkPluginPackageOption "lean-nvim" pkgs.vimPlugins.lean-nvim;
|
||||
|
||||
leanPackage = mkOption {
|
||||
type = with types; nullOr package;
|
||||
leanPackage = helpers.mkPackageOption {
|
||||
name = "lean";
|
||||
default = pkgs.lean4;
|
||||
description = "Which package to use for lean.";
|
||||
example = null;
|
||||
};
|
||||
|
||||
lsp = helpers.defaultNullOpts.mkNullable (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue