rsync: fix test failure on darwin
Not-cherry-picked-because: Guarded to darwin, will remove guard on staging/staging-26.05 (cherry picked from commit c10ba493e0f242454a78fdde32fce0956065222c)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
|
||||
updateAutotoolsGnuConfigScriptsHook,
|
||||
perl,
|
||||
@@ -36,6 +37,17 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-vYjPgvplPaMjFPsikTZAfFyQ+A0XWNj0sJF2eHfY+pY=";
|
||||
};
|
||||
|
||||
patches = lib.optionals (stdenv.hostPlatform.isDarwin) [
|
||||
# Fixes test failure on darwin
|
||||
(fetchpatch {
|
||||
url = "https://github.com/RsyncProject/rsync/commit/e1c5f0e93a75dd45f32f3b92ba221ef158ac2e5f.patch";
|
||||
hash = "sha256-pg65K9BCTq/WvS5icK6KT28ARccFKedp2445wLYdRsE=";
|
||||
excludes = [
|
||||
".github/workflows/cygwin-build.yml"
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
patchShebangs ./runtests.py
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user