Updates Mudlet from v4.17.0 to v4.17.2. See the upstream release
notes[0] for more information.
Notably this commit also fixes missing translation files that would
prevent the built Mudlet from using certain Geyser UI elements (e.g.
localized `AdjustableContainer` instances).
[0]: https://github.com/Mudlet/Mudlet/releases/tag/Mudlet-4.17.2
This commit updates Mudlet from version 4.15.1 to 4.16.0. This requires
fixing a lua 5.1 compatibility regression in luasql-sqlite3 by using
a packageOverride to set the version to a commit before the regression.
This resolves an "undefined symbol: lua_isinteger" error that will
occur at application runtime otherwise.
Similarly, prior to this commit running Mudlet would produce errors in
the console window related to not finding the required `.so` for the
Discord integration to function.
This commit also wires through the required `libdiscord-rpc.so` from the
discord-rpc package. On startup Mudlet now prints:
> Discord integration loaded. Using functions from: "libdiscord-rpc.so"
luaPackages replaced by generated ones:
- bit32
- compat53
- cqueues
- luacyrussasl -> cyrussasl (luarocks name)
- luaexpat
- luadbi -> luadbi front-end module + separate backend modules
luadbi-{mysql,postgresql,sqlite3}
- luafilesystem
- luaossl
- luasec
- luasocket
- luastdlib -> stdlib (luarocks name)
- lrexlib -> lrexlib-pcre (we already have lrexlib-gnu and
lrexlib-posix, lrexlib-pcre however appears to be the variant used in
mudlet, which is the only current dep in nixpkgs)
- luasqlite -> luasql-sqlite3 (luarocks name)
- lfs -> luafilesytem (we literally had two manually written
luafilesystem expressions, under different names)
Changes and additions to overrides to generated luarocks packgaes,
including:
- busted: Install bash completions along with the zsh ones
- cqueues:
- Perform minor surgery on the rockspec to allow using a single
rockspec to build for all supported Lua versions
- Add a patch by @vcunat to work around a build issue
- luuid: Wrote a tiny patch to allow for Lua 5.1/Luajit compatibility
- General changes:
- Sorted the packages
- Attempted to make the formatting consistent
- Preferenced `.override` instead of `.overrideAttrs` wherever
possible
Minor changes to other packages to adjust for the Lua package changes:
- luakit expression simplified
- prosody expression simplified; but users will now need to specify the
luadbi backend module they intend to use in withExtraLibs
- knot-resolver inputs correctd
- mudlet inputs corrected (although this package was and should still be
broken)