aboutsummaryrefslogtreecommitdiffstats
path: root/community/luarocks/config.lua
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:21:02 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-07-22 20:44:52 +0200
commit50395fcbaa5939969c4423e1e60737f91c6d41b6 (patch)
treecef6fd1ae3d881278448bf934265afe967134dc1 /community/luarocks/config.lua
parent26fecd4b4e36b7c0a73dea662996d74ca5d1433e (diff)
downloadaports-50395fcbaa5939969c4423e1e60737f91c6d41b6.tar.gz
aports-50395fcbaa5939969c4423e1e60737f91c6d41b6.tar.bz2
aports-50395fcbaa5939969c4423e1e60737f91c6d41b6.tar.xz
community/luarocks: configure it to see rocks installed by apk
https://github.com/luarocks/luarocks/wiki/Integrating-distro-modules-with-LuaRocks
Diffstat (limited to 'community/luarocks/config.lua')
-rw-r--r--community/luarocks/config.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/community/luarocks/config.lua b/community/luarocks/config.lua
new file mode 100644
index 0000000000..2b6c029f94
--- /dev/null
+++ b/community/luarocks/config.lua
@@ -0,0 +1,6 @@
+rocks_trees = {
+ { name = 'user', root = home..'/.luarocks' },
+ { name = 'distro-modules', root = '/usr' },
+ { name = 'system', root = '/usr/local' },
+}
+deps_mode = 'all'