From 8d14d602ea00a048401472387f282c7cf995d144 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 1 Jun 2021 18:18:17 +0200 Subject: [PATCH] gnu: unbound: Enable DoH support. * gnu/packages/dns.scm (unbound)[inputs]: Add NGHTTP2:LIB. [arguments]: Add "--with-libnghttp2" to #:configure-flags. --- gnu/packages/dns.scm | 3 +++ 1 file changed, 3 insertions(+) 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,12 +625,15 @@ (define-public unbound (inputs `(("expat" ,expat) ("libevent" ,libevent) + ("nghttp2" ,nghttp2 "lib") ("protobuf" ,protobuf) ("python-wrapper" ,python-wrapper) ("openssl" ,openssl))) (arguments `(#: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