mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 17:58:38 +02:00
modules/top-level: change usages of import to callPackage
This commit is contained in:
parent
4c23fb2738
commit
49a7bb573a
5 changed files with 23 additions and 13 deletions
|
@ -32,14 +32,14 @@ in
|
|||
build.plugins =
|
||||
let
|
||||
shouldCompilePlugins = byteCompileCfg.enable && byteCompileCfg.plugins;
|
||||
byteCompilePlugins = import ./byte-compile-plugins.nix { inherit lib pkgs; };
|
||||
byteCompilePlugins = pkgs.callPackage ./byte-compile-plugins.nix { inherit lib; };
|
||||
|
||||
shouldCompileLuaLib = byteCompileCfg.enable && byteCompileCfg.luaLib;
|
||||
inherit (import ./byte-compile-lua-lib.nix { inherit lib pkgs; }) byteCompilePluginDeps;
|
||||
inherit (pkgs.callPackage ./byte-compile-lua-lib.nix { inherit lib; }) byteCompilePluginDeps;
|
||||
|
||||
shouldCombinePlugins = config.performance.combinePlugins.enable;
|
||||
combinePlugins = import ./combine-plugins.nix {
|
||||
inherit lib pkgs;
|
||||
combinePlugins = pkgs.callPackage ./combine-plugins.nix {
|
||||
inherit lib;
|
||||
inherit (config.performance.combinePlugins)
|
||||
standalonePlugins
|
||||
pathsToLink
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue