modules/top-level/plugins: use mapNormalizedPlugins utils function

This commit is contained in:
Stanislav Asunkin 2025-05-09 11:56:13 +03:00
parent 2c6182351f
commit 0d78a47792

View file

@ -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