1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-07 09:31:06 +01:00

modules/performance: add excludedPlugins option to byte compilation

Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
saygo-png 2025-09-08 00:24:20 +02:00 committed by Matt Sturgeon
parent 43c6f7293e
commit cd427977f3
3 changed files with 27 additions and 3 deletions

View file

@ -32,7 +32,10 @@ in
build.plugins =
let
shouldCompilePlugins = byteCompileCfg.enable && byteCompileCfg.plugins;
byteCompilePlugins = pkgs.callPackage ./byte-compile-plugins.nix { inherit lib; };
byteCompilePlugins = pkgs.callPackage ./byte-compile-plugins.nix {
inherit lib;
inherit (config.performance.byteCompileLua) excludedPlugins;
};
shouldCompileLuaLib = byteCompileCfg.enable && byteCompileCfg.luaLib;
inherit (pkgs.callPackage ./byte-compile-lua-lib.nix { inherit lib; }) byteCompilePluginDeps;