mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-02 21:34:33 +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
|
@ -363,11 +363,9 @@ in {
|
|||
)
|
||||
enabledSources;
|
||||
plugins.gitsigns.enable = mkIf gitsignsEnabled true;
|
||||
extraPackages = builtins.filter (p: p != null) (
|
||||
builtins.map (
|
||||
source: source.package or null
|
||||
)
|
||||
enabledSources
|
||||
);
|
||||
extraPackages =
|
||||
map
|
||||
(source: source.package or null)
|
||||
enabledSources;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue