tengine: Add modules to passthru

Follow the interface of the `nginx` package and expose the enabled
modules. This is used in the `nginx` module to enable the
`additionalModules` option.
This commit is contained in:
talyz 2021-04-14 16:14:28 +02:00
parent 950e92cac1
commit fd10431871
No known key found for this signature in database
GPG Key ID: 2DED2151F4671A2B

View File

@ -111,6 +111,10 @@ stdenv.mkDerivation rec {
mv $out/sbin $out/bin
'';
passthru = {
inherit modules;
};
meta = {
description = "A web server based on Nginx and has many advanced features, originated by Taobao";
homepage = "https://tengine.taobao.org";