diff options
author | Andreas Rammhold <andreas@rammhold.de> | 2020-11-01 11:38:54 +0100 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2020-11-01 12:51:02 +0100 |
commit | 5219a3ade1939470f2965ad4d80c87f7fb33db3e (patch) | |
tree | 50cba315f06c3fd0e809d9fb69cb99489364047d /pkgs/applications/networking/sync | |
parent | 409ca6f1f9973565e93868bfa56365996439e38b (diff) |
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.
Diffstat (limited to 'pkgs/applications/networking/sync')
-rw-r--r-- | pkgs/applications/networking/sync/rsync/default.nix | 8 |
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 7f384846c960d..e07fecbf89363 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. |