From 356234dc5f4f70aace50542f50bcda07378f8716 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sun, 22 Dec 2024 23:21:53 +0900 Subject: [PATCH] gnu: gnutls: Enable zstd compression. * gnu/packages/tls.scm [arguments] <#:configure-flags>: Add --with-zstd=link. [propagated-inputs]: Add zstd:lib. Change-Id: I7cfce764181eebe12a32019107061c88edaa877a --- gnu/packages/tls.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index 81ecaf2ff2..6cdbbec9a8 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -240,6 +240,7 @@ living in the same process.") ;; due to its non-FHS nature and the lack of a global ;; ld.so.cache file. "--with-zlib=link" + "--with-zstd=link" ;; GnuTLS doesn't consult any environment variables to specify ;; the location of the system-wide trust store. Instead it has a ;; configure-time option. Unless specified, its configure script @@ -285,7 +286,7 @@ living in the same process.") (inputs (list libunistring zlib)) (propagated-inputs ;; These are all in the 'Requires.private' field of gnutls.pc. - (list libtasn1 libidn2 p11-kit nettle zlib)) + (list libtasn1 libidn2 p11-kit nettle zlib `(,zstd "lib"))) (home-page "https://gnutls.org") (synopsis "Transport layer security library") (description