mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue