neovimUtils.buildNeovimPlugin: fix lua c modules (#519733)

This commit is contained in:
Matthieu Coudron
2026-05-15 09:43:27 +00:00
committed by GitHub
@@ -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 (