about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAudrey Dutcher <audrey@rhelmot.io>2024-05-14 15:07:50 -0700
committerSandro Jäckel <sandro.jaeckel@gmail.com>2024-05-15 13:13:34 +0200
commit7b97e8fd384eaf4fee289a4546bc9e0a5bccfe2d (patch)
tree07dfdfb560e842f72f58bb55a06aea65336619e6
parente202aa82c4e4088d64fdcdc33af35476221df6d5 (diff)
rsync: Make enableLZ4 and enableOpenSSL parameters work when set to false
-rw-r--r--pkgs/applications/networking/sync/rsync/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/networking/sync/rsync/default.nix b/pkgs/applications/networking/sync/rsync/default.nix
index 8846bea0a49b4..5216617bf4d1a 100644
--- a/pkgs/applications/networking/sync/rsync/default.nix
+++ b/pkgs/applications/networking/sync/rsync/default.nix
@@ -50,6 +50,10 @@ stdenv.mkDerivation rec {
     "--disable-zstd"
   ] ++ lib.optionals (!enableXXHash) [
     "--disable-xxhash"
+  ] ++ lib.optionals (!enableLZ4) [
+    "--disable-lz4"
+  ] ++ lib.optionals (!enableOpenSSL) [
+    "--disable-openssl"
   ];
 
   enableParallelBuilding = true;