mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-13 16:34:27 +00:00
unbound: support dynlib module (#333301)
This commit is contained in:
commit
eafaee722e
@ -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 [
|
||||
|
@ -5607,6 +5607,7 @@ with pkgs;
|
||||
unbound-full = unbound.override {
|
||||
python = python3;
|
||||
withSystemd = true;
|
||||
withDynlibModule = true;
|
||||
withPythonModule = true;
|
||||
withDoH = true;
|
||||
withECS = true;
|
||||
|
Loading…
Reference in New Issue
Block a user