summaryrefslogtreecommitdiff
path: root/user/luarocks/config.lua
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2023-11-30 06:55:30 -0800
committerA. Wilcox <awilcox@wilcox-tech.com>2023-12-02 02:15:12 +0000
commitb1d513607158392550dd0305ab37d05a1fdb7489 (patch)
treecd991337c112f3d88f50eadc8e5fe0863c7aa0c0 /user/luarocks/config.lua
parent84ae51e84b6fa7e4ab82f601b648a04d8621a9c8 (diff)
downloadpackages-b1d513607158392550dd0305ab37d05a1fdb7489.tar.gz
packages-b1d513607158392550dd0305ab37d05a1fdb7489.tar.bz2
packages-b1d513607158392550dd0305ab37d05a1fdb7489.tar.xz
packages-b1d513607158392550dd0305ab37d05a1fdb7489.zip
user/luarocks: upgrade to 3.9.2
Fixes: #1129
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'