@@ -1,5 +1,5 @@
11{ lib, stdenv, fetchFromGitHub, openssl, zlib, pcre, libxml2, libxslt
2−, substituteAll, gd, geoip, gperftools, jemalloc
2+, substituteAll, gd, geoip, gperftools, jemalloc, nixosTests
33, withDebug ? false
44, withMail ? false
55, withStream ? false
@@ -111,6 +111,11 @@ stdenv.mkDerivation rec {
111111 mv $out/sbin $out/bin
112112 '';
113113
114+ passthru = {
115+ inherit modules;
116+ tests = nixosTests.nginx-variants.tengine;
117+ };
118+
114119 meta = {
115120 description = "A web server based on Nginx and has many advanced features, originated by Taobao";
116121 homepage = "https://tengine.taobao.org";