Merge pull request #298717 from rhelmot/freebsd-minimal2/rsync

rsync: Explicitly disable configure feature flags when nixpkgs feature flags are disabled
This commit is contained in:
Jörg Thalheim 2024-03-25 10:55:24 +01:00 committed by GitHub
commit 712a57c1c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;