prosody: fix work after update luadbi packages

This commit is contained in:
Izorkin 2019-06-20 10:58:44 +03:00
parent bb4816d41c
commit 89c69bfb79
2 changed files with 9 additions and 0 deletions

View File

@ -8,6 +8,14 @@ import ../make-test.nix {
];
};
server = { config, pkgs, ... }: {
nixpkgs.overlays = [
(self: super: {
prosody = super.prosody.override {
withDBI = true;
withExtraLibs = [ pkgs.luaPackages.luadbi-mysql ];
};
})
];
networking.extraHosts = ''
${config.networking.primaryIPAddress} example.com
'';

View File

@ -14193,6 +14193,7 @@ in
prosody = callPackage ../servers/xmpp/prosody {
# _compat can probably be removed on next minor version after 0.10.0
lua5 = lua5_2_compat;
withExtraLibs = [ luaPackages.luadbi-sqlite3 ];
inherit (lua52Packages) luasocket luasec luaexpat luafilesystem luabitop luaevent luadbi;
};