diff --git a/pkgs/by-name/un/unbound/package.nix b/pkgs/by-name/un/unbound/package.nix index c9d9a7a26cf6..8fec1547052d 100644 --- a/pkgs/by-name/un/unbound/package.nix +++ b/pkgs/by-name/un/unbound/package.nix @@ -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 [ diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f60fc1d21025..f3c331d76a5f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5607,6 +5607,7 @@ with pkgs; unbound-full = unbound.override { python = python3; withSystemd = true; + withDynlibModule = true; withPythonModule = true; withDoH = true; withECS = true;