From 6b035ad2fa028d923ea09c8e2a363b318df91538 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 21 Sep 2021 21:30:41 +0200 Subject: gnu: rsync: Enable zstd & lz4 compression. Both are ridiculously more suited to this role than the old zlib compressor. The closure size increase is negligible (1 MiB or 1.3% for zstd, 1.7 MiB for both). * gnu/packages/rsync.scm (rsync-next)[inputs]: Add zstd:lib and lz4. [arguments]: Remove the corresponding "--disable-zstd" and "--disable-lz4" #:configure-flags. --- gnu/packages/rsync.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gnu/packages/rsync.scm') diff --git a/gnu/packages/rsync.scm b/gnu/packages/rsync.scm index 59460f1324..956c942770 100644 --- a/gnu/packages/rsync.scm +++ b/gnu/packages/rsync.scm @@ -87,16 +87,16 @@ (define-public rsync-next (list "--without-included-zlib" "--without-included-popt" ;; Avoid these dependencies for now. - "--disable-lz4" - "--disable-openssl" - "--disable-zstd"))) + "--disable-openssl"))) (native-inputs `(("perl" ,perl))) (inputs `(("acl" ,acl) + ("lz4" ,lz4) ("popt" ,popt) ("xxhash" ,xxhash) - ("zlib" ,zlib))) + ("zlib" ,zlib) + ("zstd:lib" ,zstd "lib"))) (synopsis "Remote (and local) file copying tool") (description "Rsync is a fast and versatile file copying tool. It can copy locally, -- cgit v1.2.3