neovimUtils.buildNeovimPlugin: fix lua c modules (#519733)
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user