mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-27 14:15:54 +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
|
let
|
||||||
inherit (lib) types mkOption;
|
inherit (lib) types mkOption mkPackageOption;
|
||||||
inherit (lib) optional optionalString optionalAttrs;
|
inherit (lib) optional optionalString optionalAttrs;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -39,10 +39,8 @@ in
|
||||||
description = "Enable Node provider.";
|
description = "Enable Node provider.";
|
||||||
};
|
};
|
||||||
|
|
||||||
package = mkOption {
|
package = mkPackageOption pkgs "Neovim" {
|
||||||
type = types.package;
|
default = "neovim-unwrapped";
|
||||||
default = pkgs.neovim-unwrapped;
|
|
||||||
description = "Neovim to use for NixVim.";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
wrapRc = mkOption {
|
wrapRc = mkOption {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue