rsync: fix build with musl

The rsync build tries to use IFUNC for SIMD optimizations on x86_64,
which has to be disabled for musl.

authored by Fabian Möller and committed by Emery Hemingway 7c1096ab 2de90e2e

+3
+3
pkgs/applications/networking/sync/rsync/default.nix
··· 43 # disable the included zlib explicitly as it otherwise still compiles and 44 # links them even. 45 "--with-included-zlib=no" 46 ]; 47 48 enableParallelBuilding = true;
··· 43 # disable the included zlib explicitly as it otherwise still compiles and 44 # links them even. 45 "--with-included-zlib=no" 46 + ] ++ lib.optionals (stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isx86_64) [ 47 + # fix `multiversioning needs 'ifunc' which is not supported on this target` error 48 + "--disable-roll-simd" 49 ]; 50 51 enableParallelBuilding = true;