neovimUtils.buildNeovimPlugin: fix lua c modules

neovim expects c modules to also be in the lua directory.
This commit is contained in:
Birdee
2026-05-14 23:18:17 -07:00
parent fff01864e6
commit 59633121bd
@@ -28,11 +28,12 @@ let
version = attrs.version or old.version;
__intentionallyOverridingVersion = true;
rockspecVersion = old.rockspecVersion;
extraConfig = ''
-- to create a flat hierarchy
lua_modules_path = "lua"
'';
luarocksConfig = (old.luarocksConfig or { }) // {
# to create a flat hierarchy
lua_modules_path = "lua";
# neovim expects C modules to also be in the lua directory
lib_modules_path = "lua";
};
});
finalDrv = toVimPlugin (