mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-24 12:45:24 +02:00
modules/output: use mkPackageOption
for package
option
This commit is contained in:
parent
cdb2e79e51
commit
c4a54da4a5
1 changed files with 3 additions and 5 deletions
|
@ -6,7 +6,7 @@
|
|||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) types mkOption;
|
||||
inherit (lib) types mkOption mkPackageOption;
|
||||
inherit (lib) optional optionalString optionalAttrs;
|
||||
in
|
||||
{
|
||||
|
@ -39,10 +39,8 @@ in
|
|||
description = "Enable Node provider.";
|
||||
};
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.neovim-unwrapped;
|
||||
description = "Neovim to use for NixVim.";
|
||||
package = mkPackageOption pkgs "Neovim" {
|
||||
default = "neovim-unwrapped";
|
||||
};
|
||||
|
||||
wrapRc = mkOption {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue