mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +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
|
@ -172,7 +172,9 @@ in
|
|||
config =
|
||||
let
|
||||
# Optionally byte compile lua library
|
||||
inherit (import ./plugins/byte-compile-lua-lib.nix { inherit lib pkgs; }) byteCompileLuaPackages;
|
||||
inherit (pkgs.callPackage ./plugins/byte-compile-lua-lib.nix { inherit lib; })
|
||||
byteCompileLuaPackages
|
||||
;
|
||||
extraLuaPackages =
|
||||
if config.performance.byteCompileLua.enable && config.performance.byteCompileLua.luaLib then
|
||||
ps: byteCompileLuaPackages (config.extraLuaPackages ps)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue