aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/networking/sync/rsync/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/networking/sync/rsync/default.nix')
-rw-r--r--pkgs/applications/networking/sync/rsync/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/applications/networking/sync/rsync/default.nix b/pkgs/applications/networking/sync/rsync/default.nix
index 7f384846c960..e07fecbf8936 100644
--- a/pkgs/applications/networking/sync/rsync/default.nix
+++ b/pkgs/applications/networking/sync/rsync/default.nix
@@ -35,7 +35,13 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional enableXXHash xxHash;
nativeBuildInputs = [perl];
- configureFlags = ["--with-nobody-group=nogroup"]
+ configureFlags = [
+ "--with-nobody-group=nogroup"
+
+ # disable the included zlib explicitly as it otherwise still compiles and
+ # links them even.
+ "--with-included-zlib=no"
+ ]
# Work around issue with cross-compilation:
# configure.sh: error: cannot run test program while cross compiling
# Remove once 3.2.4 or more recent is released.