summaryrefslogtreecommitdiff
path: root/Ports/luarocks/patches/ReadMe.md
diff options
context:
space:
mode:
authorDaniel Lemos <xspager@gmail.com>2022-03-15 13:48:34 -0300
committerLinus Groh <mail@linusgroh.de>2022-03-16 14:14:01 +0000
commit3063aedb0c5ca7afda8e13ff8fcc063c7bd98678 (patch)
treedcc2ffceedfde0c785dd633928fee5271fc62692 /Ports/luarocks/patches/ReadMe.md
parenta4e5c6201e662676179d7fb68571bb1a2ec57d6e (diff)
downloadserenity-3063aedb0c5ca7afda8e13ff8fcc063c7bd98678.zip
Ports: Add Lua's package manager LuaRocks
Ports: Add LuaRocks to AvailablePorts.md Ports: Add ReadMe.md for the patches
Diffstat (limited to 'Ports/luarocks/patches/ReadMe.md')
-rw-r--r--Ports/luarocks/patches/ReadMe.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/Ports/luarocks/patches/ReadMe.md b/Ports/luarocks/patches/ReadMe.md
new file mode 100644
index 0000000000..e573efaab3
--- /dev/null
+++ b/Ports/luarocks/patches/ReadMe.md
@@ -0,0 +1,8 @@
+# Patches for LuaRocks on SerenityOS
+
+## `luarocks.patch`
+
+src/luarocks/core/cfg.lua: Setup serenity as a platform and config `defaults.variables.UNZIP` to work around our `unzip` command not supporting the flag `-n`
+src/luarocks/core/sysdetect.lua: Detect SerenityOS using the `uname` command
+
+This should should be upstreamed so next versions of LuaRocks will support Serenity out of the box.