mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
misc: allow null in extraPackages
This commit is contained in:
parent
c826d146c6
commit
f2f97d844b
13 changed files with 22 additions and 39 deletions
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
|
@ -34,9 +33,10 @@ in {
|
|||
};
|
||||
|
||||
extraPackages = mkOption {
|
||||
type = types.listOf types.package;
|
||||
type = with types; listOf (nullOr package);
|
||||
default = [];
|
||||
description = "Extra packages to be made available to neovim";
|
||||
apply = builtins.filter (p: p != null);
|
||||
};
|
||||
|
||||
extraPython3Packages = mkOption {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue