rsync: fix pkgsStatic itemize test failure (#537498)
This commit is contained in:
@@ -85,6 +85,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ lib.optionals (stdenv.hostPlatform.isMusl && stdenv.hostPlatform.isx86_64) [
|
||||
# fix `multiversioning needs 'ifunc' which is not supported on this target` error
|
||||
"--disable-roll-simd"
|
||||
]
|
||||
# Linux can hard-link symlinks; configure defaults this check to "no" when
|
||||
# cross-compiling (e.g. pkgsStatic) because it cannot run the probe.
|
||||
# That leaves hardlink_symlinks false while itemize still reports identical
|
||||
# --copy-dest/--link-dest symlinks with blank attribute flags, so
|
||||
# testsuite/itemize.test fails (https://github.com/NixOS/nixpkgs/issues/537437).
|
||||
++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
"rsync_cv_can_hardlink_symlink=yes"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
Reference in New Issue
Block a user