mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
modules/top-level/plugins: use mapNormalizedPlugins utils function
This commit is contained in:
parent
2c6182351f
commit
0d78a47792
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
||||||
{ lib, pkgs }:
|
{ lib, pkgs }:
|
||||||
let
|
let
|
||||||
builders = lib.nixvim.builders.withPkgs pkgs;
|
builders = lib.nixvim.builders.withPkgs pkgs;
|
||||||
|
inherit (import ./utils.nix lib) mapNormalizedPlugins;
|
||||||
|
|
||||||
byteCompile =
|
byteCompile =
|
||||||
p:
|
p:
|
||||||
|
@ -14,4 +15,4 @@ let
|
||||||
prev: lib.optionalAttrs (prev ? dependencies) { dependencies = map byteCompile prev.dependencies; }
|
prev: lib.optionalAttrs (prev ? dependencies) { dependencies = map byteCompile prev.dependencies; }
|
||||||
);
|
);
|
||||||
in
|
in
|
||||||
map (p: p // { plugin = byteCompile p.plugin; })
|
mapNormalizedPlugins byteCompile
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue