prosody: fix work after update luadbi packages
commit89c69bfb797885c3bb84c19e18f6f2c515550a10
authorIzorkin <izorkin@elven.pw>
dateThu 20 Jun 2019, 10:58 (7 years ago)
parentbb4816d
nixos/tests/xmpp/prosody-mysql.nix+8
@@ -8,6 +8,14 @@ import ../make-test.nix {
88 ];
99 };
1010 server = { config, pkgs, ... }: {
11+ nixpkgs.overlays = [
12+ (self: super: {
13+ prosody = super.prosody.override {
14+ withDBI = true;
15+ withExtraLibs = [ pkgs.luaPackages.luadbi-mysql ];
16+ };
17+ })
18+ ];
1119 networking.extraHosts = ''
1220 ${config.networking.primaryIPAddress} example.com
1321 '';
pkgs/top-level/all-packages.nix+1
@@ -14193,6 +14193,7 @@ in
1419314193 prosody = callPackage ../servers/xmpp/prosody {
1419414194 # _compat can probably be removed on next minor version after 0.10.0
1419514195 lua5 = lua5_2_compat;
14196+ withExtraLibs = [ luaPackages.luadbi-sqlite3 ];
1419614197 inherit (lua52Packages) luasocket luasec luaexpat luafilesystem luabitop luaevent luadbi;
1419714198 };
1419814199