rsync: disable the bundled zlib explicitly

We've been providing zlib as a buildInput for some time now but rsync
still builds (& links) it's own copy of zlib unless we disable it
explicitly. This cuts down on compilation time but otherwise shouldn't
have any side effects.

authored by Andreas Rammhold and committed by Frederik Rietdijk 5219a3ad 409ca6f1

+7 -1
+7 -1
pkgs/applications/networking/sync/rsync/default.nix
··· 35 35 ++ stdenv.lib.optional enableXXHash xxHash; 36 36 nativeBuildInputs = [perl]; 37 37 38 - configureFlags = ["--with-nobody-group=nogroup"] 38 + configureFlags = [ 39 + "--with-nobody-group=nogroup" 40 + 41 + # disable the included zlib explicitly as it otherwise still compiles and 42 + # links them even. 43 + "--with-included-zlib=no" 44 + ] 39 45 # Work around issue with cross-compilation: 40 46 # configure.sh: error: cannot run test program while cross compiling 41 47 # Remove once 3.2.4 or more recent is released.