diff options
author | Florian Klink <flokli@flokli.de> | 2020-05-24 23:53:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-24 23:53:08 +0200 |
commit | a1d501b87e4028369b0e2b5f37634dc86d1a0db0 (patch) | |
tree | b8805157866415c14f195bd97b822c7d72abccc0 /pkgs | |
parent | 334cf8c6af03f39bd9a2d4c3d0b54374843786b5 (diff) | |
parent | ac9a44eff9d4ad9e1955425bb4de568bb4afdb5d (diff) | |
download | nixpkgs-a1d501b87e4028369b0e2b5f37634dc86d1a0db0.tar nixpkgs-a1d501b87e4028369b0e2b5f37634dc86d1a0db0.tar.gz nixpkgs-a1d501b87e4028369b0e2b5f37634dc86d1a0db0.tar.bz2 nixpkgs-a1d501b87e4028369b0e2b5f37634dc86d1a0db0.tar.lz nixpkgs-a1d501b87e4028369b0e2b5f37634dc86d1a0db0.tar.xz nixpkgs-a1d501b87e4028369b0e2b5f37634dc86d1a0db0.tar.zst nixpkgs-a1d501b87e4028369b0e2b5f37634dc86d1a0db0.zip |
Merge pull request #88807 from NinjaTrappeur/nin-prosody-passthru
prosody: add passthru tests
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/servers/xmpp/prosody/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/servers/xmpp/prosody/default.nix b/pkgs/servers/xmpp/prosody/default.nix index 702da004b42..05e276f0b98 100644 --- a/pkgs/servers/xmpp/prosody/default.nix +++ b/pkgs/servers/xmpp/prosody/default.nix @@ -1,5 +1,6 @@ { stdenv, fetchurl, lib, libidn, openssl, makeWrapper, fetchhg , lua5, luasocket, luasec, luaexpat, luafilesystem, luabitop +, nixosTests , withLibevent ? true, luaevent ? null , withDBI ? true, luadbi ? null # use withExtraLibs to add additional dependencies of community modules @@ -71,7 +72,13 @@ stdenv.mkDerivation rec { --prefix LUA_CPATH ';' "$LUA_CPATH" ''; - passthru.communityModules = withCommunityModules; + passthru = { + communityModules = withCommunityModules; + tests = { + main = nixosTests.prosody; + mysql = nixosTests.prosodyMysql; + }; + }; meta = { description = "Open-source XMPP application server written in Lua"; |