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:
parent
43c6f7293e
commit
cd427977f3
3 changed files with 27 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue