unbound: support dynlib module (#333301)

This commit is contained in:
Arne Keller 2024-12-11 12:39:59 +01:00 committed by GitHub
commit eafaee722e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View File

@ -40,6 +40,8 @@
# enable support for python plugins in unbound: note this is distinct from pyunbound
# see https://unbound.docs.nlnetlabs.nl/en/latest/developer/python-modules.html
, withPythonModule ? false
# enable support for .so plugins
, withDynlibModule ? false
, withLto ? !stdenv.hostPlatform.isStatic && !stdenv.hostPlatform.isMinGW
, withMakeWrapper ? !stdenv.hostPlatform.isMinGW
, libnghttp2
@ -88,6 +90,8 @@ stdenv.mkDerivation (finalAttrs: {
"--enable-systemd"
] ++ lib.optionals withPythonModule [
"--with-pythonmodule"
] ++ lib.optionals withDynlibModule [
"--with-dynlibmodule"
] ++ lib.optionals withDoH [
"--with-libnghttp2=${libnghttp2.dev}"
] ++ lib.optionals withECS [

View File

@ -5607,6 +5607,7 @@ with pkgs;
unbound-full = unbound.override {
python = python3;
withSystemd = true;
withDynlibModule = true;
withPythonModule = true;
withDoH = true;
withECS = true;