From e9ad260948ec3c23a7dbf4e9a3bad6b705a95048 Mon Sep 17 00:00:00 2001 From: Audrey Dutcher Date: Sun, 24 Mar 2024 12:48:10 -0700 Subject: [PATCH] rsync: Explicitly disable configure feature flags when nixpkgs feature flags are disabled --- pkgs/applications/networking/sync/rsync/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/networking/sync/rsync/default.nix b/pkgs/applications/networking/sync/rsync/default.nix index 0d8b3d78ec05..8fb607979100 100644 --- a/pkgs/applications/networking/sync/rsync/default.nix +++ b/pkgs/applications/networking/sync/rsync/default.nix @@ -54,6 +54,10 @@ stdenv.mkDerivation rec { ] ++ lib.optionals (stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isx86_64) [ # fix `multiversioning needs 'ifunc' which is not supported on this target` error "--disable-roll-simd" + ] ++ lib.optionals (!enableZstd) [ + "--disable-zstd" + ] ++ lib.optionals (!enableXXHash) [ + "--disable-xxhash" ]; enableParallelBuilding = true;