prosody: fix work after update luadbi packages
This commit is contained in:
parent
bb4816d41c
commit
89c69bfb79
@ -8,6 +8,14 @@ import ../make-test.nix {
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
server = { config, pkgs, ... }: {
|
server = { config, pkgs, ... }: {
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(self: super: {
|
||||||
|
prosody = super.prosody.override {
|
||||||
|
withDBI = true;
|
||||||
|
withExtraLibs = [ pkgs.luaPackages.luadbi-mysql ];
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
networking.extraHosts = ''
|
networking.extraHosts = ''
|
||||||
${config.networking.primaryIPAddress} example.com
|
${config.networking.primaryIPAddress} example.com
|
||||||
'';
|
'';
|
||||||
|
@ -14193,6 +14193,7 @@ in
|
|||||||
prosody = callPackage ../servers/xmpp/prosody {
|
prosody = callPackage ../servers/xmpp/prosody {
|
||||||
# _compat can probably be removed on next minor version after 0.10.0
|
# _compat can probably be removed on next minor version after 0.10.0
|
||||||
lua5 = lua5_2_compat;
|
lua5 = lua5_2_compat;
|
||||||
|
withExtraLibs = [ luaPackages.luadbi-sqlite3 ];
|
||||||
inherit (lua52Packages) luasocket luasec luaexpat luafilesystem luabitop luaevent luadbi;
|
inherit (lua52Packages) luasocket luasec luaexpat luafilesystem luabitop luaevent luadbi;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user