mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
rsync: fix pkgsStatic itemize test failure (#537498)
This commit is contained in:
commit
a263060fea
1 changed files with 8 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue