On Sun, 28 Feb 2021 18:34:36 +0900, Lemures Lemniscati > On Sat, 27 Feb 2021 13:32:37 +0100, Achim Gratz > > >> > And, choices for a tree-prefix where luarocks will install rocks are: > > >> > 1) luarocks_tree=/usr/share/lua/luarocks > > > > That only makes sense if luarocks aren't architecture specific. In > > other words if you had multiple lua installations of the same version > > targeting different architectures and they could all share the exact > > same luarocks, then these should be installed into that location. > > > A problem is that ${luarock_tree} can contain both > architecutre-independent components and -specific ones, > and that components in ${luarocks_tree}/bin might be > architecture-specfic or architecture-independent. > > (B) using mixed tree prefixes and removing tautological directories
I've reconfigured with these settings [1]: * luarocks tree: /usr [maybe architecture-specific components] * rocks: /usr/lib/lua/luarocks/rocks-${LUA_VERSION} * manifest: /usr/lib/lua/luarocks/rocks-${LUA_VERSION}/manifest * deploy_bin_dir: /usr/lib/lua/luarocks/bin * deploy_lib_dir: /usr/lib/lua/luarocks/${LUA_VERSION} [architecture-independent components] * deploy_lua_dir: /usr/share/lua/luarocks/${LUA_VERSION} [1]: https://cygwin-lem.github.io/lua-cygwin-packages/ Regards, Lem