summaryrefslogtreecommitdiff
path: root/user/luarocks/config.lua
diff options
context:
space:
mode:
Diffstat (limited to 'user/luarocks/config.lua')
-rw-r--r--user/luarocks/config.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/user/luarocks/config.lua b/user/luarocks/config.lua
new file mode 100644
index 000000000..beb6ce586
--- /dev/null
+++ b/user/luarocks/config.lua
@@ -0,0 +1,17 @@
+rocks_trees = {
+ -- User-local Lua and Lua/C modules.
+ { name = 'user',
+ root = home..'/.luarocks' },
+ -- System-wide Lua and Lua/C modules for specific Lua version installed by apk.
+ { name = 'distro-modules',
+ root = '/usr' },
+ -- System-wide Lua modules compatible with Lua 5.1-5.4 installed by apk.
+ { name = 'distro-modules-common',
+ root = '/usr',
+ lua_dir = '/usr/share/lua/common',
+ rocks_dir = '/usr/lib/luarocks/rocks-common' },
+ -- System-wide Lua and Lua/C modules installed by user.
+ { name = 'system',
+ root = '/usr/local' },
+}
+deps_mode = 'all'