gnu: unbound: Enable DoH support.

* gnu/packages/dns.scm (unbound)[inputs]: Add NGHTTP2:LIB.
[arguments]: Add "--with-libnghttp2" to #:configure-flags.
This commit is contained in:
Marius Bakke 2021-06-01 18:18:17 +02:00
parent 304895d5e0
commit 8d14d602ea
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -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