rsync: Explicitly disable configure feature flags when nixpkgs feature flags are disabled

This commit is contained in:
Audrey Dutcher 2024-03-24 12:48:10 -07:00
parent 2ec7013424
commit e9ad260948
1 changed files with 4 additions and 0 deletions

View File

@ -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;