diff options
author | Marius Bakke <marius@gnu.org> | 2021-06-01 18:18:17 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2021-06-01 20:21:54 +0200 |
commit | 8d14d602ea00a048401472387f282c7cf995d144 (patch) | |
tree | 0e2d45c505af8eb3ab05853ae11227bac4d8866e | |
parent | 304895d5e04d6f09a29b3fe233e3a8f6b62fbd8b (diff) | |
download | guix-8d14d602ea00a048401472387f282c7cf995d144.tar.gz guix-8d14d602ea00a048401472387f282c7cf995d144.zip |
gnu: unbound: Enable DoH support.
* gnu/packages/dns.scm (unbound)[inputs]: Add NGHTTP2:LIB.
[arguments]: Add "--with-libnghttp2" to #:configure-flags.
-rw-r--r-- | gnu/packages/dns.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm index 86185373c4..a0388a1419 100644 --- a/gnu/packages/dns.scm +++ b/gnu/packages/dns.scm @@ -625,6 +625,7 @@ to result in system-wide compromise.") (inputs `(("expat" ,expat) ("libevent" ,libevent) + ("nghttp2" ,nghttp2 "lib") ("protobuf" ,protobuf) ("python-wrapper" ,python-wrapper) ("openssl" ,openssl))) @@ -632,6 +633,8 @@ to result in system-wide compromise.") `(#:configure-flags (list "--disable-static" ; save space and non-determinism in libunbound.a (string-append + "--with-libnghttp2=" (assoc-ref %build-inputs "nghttp2")) + (string-append "--with-ssl=" (assoc-ref %build-inputs "openssl")) (string-append "--with-libevent=" (assoc-ref %build-inputs "libevent")) |