modules/top-level: change usages of import to callPackage

This commit is contained in:
Stanislav Asunkin 2025-05-12 17:21:02 +03:00
parent 4c23fb2738
commit 49a7bb573a
5 changed files with 23 additions and 13 deletions

View file

@ -1,10 +1,14 @@
# Utilities for byte compiling of lua dependencies
{ lib, pkgs }:
{
lib,
pkgs,
neovim-unwrapped,
}:
let
builders = lib.nixvim.builders.withPkgs pkgs;
inherit (import ./utils.nix lib) mapNormalizedPlugins;
luaPackages = pkgs.neovim-unwrapped.lua.pkgs;
luaPackages = neovim-unwrapped.lua.pkgs;
# Applies a function to the derivation, but only if it's a lua module,
# otherwise returns it as is