summary refs log tree commit diff
path: root/nixos/tests/xmpp
diff options
context:
space:
mode:
authorIzorkin <izorkin@elven.pw>2019-06-20 10:58:44 +0300
committerIzorkin <izorkin@elven.pw>2019-08-20 10:24:49 +0300
commit89c69bfb797885c3bb84c19e18f6f2c515550a10 (patch)
treed972ba49232ffcfb1057840fe2430d52711790d3 /nixos/tests/xmpp
parentbb4816d41c2aa43723529ef7bcf081f845c86180 (diff)
downloadnixpkgs-89c69bfb797885c3bb84c19e18f6f2c515550a10.tar
nixpkgs-89c69bfb797885c3bb84c19e18f6f2c515550a10.tar.gz
nixpkgs-89c69bfb797885c3bb84c19e18f6f2c515550a10.tar.bz2
nixpkgs-89c69bfb797885c3bb84c19e18f6f2c515550a10.tar.lz
nixpkgs-89c69bfb797885c3bb84c19e18f6f2c515550a10.tar.xz
nixpkgs-89c69bfb797885c3bb84c19e18f6f2c515550a10.tar.zst
nixpkgs-89c69bfb797885c3bb84c19e18f6f2c515550a10.zip
prosody: fix work after update luadbi packages
Diffstat (limited to 'nixos/tests/xmpp')
-rw-r--r--nixos/tests/xmpp/prosody-mysql.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/tests/xmpp/prosody-mysql.nix b/nixos/tests/xmpp/prosody-mysql.nix
index 5e9dba2abe5..62b4a17421e 100644
--- a/nixos/tests/xmpp/prosody-mysql.nix
+++ b/nixos/tests/xmpp/prosody-mysql.nix
@@ -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
       '';