borgbackup: cherry-pick patch to fix tests

borgbackup/borg#7250 is now fixed in 1.2-maint (pending for borg 1.2.4)
but borgbackup/borg#7252 was amended to a different approach before
being apporoved. Replace the original workaround with upstream's fix.
This commit is contained in:
Kevin Puetz 2023-01-12 17:58:14 -06:00
parent 1246250561
commit ee7e9da5b9

View file

@ -28,8 +28,8 @@ python3.pkgs.buildPythonApplication rec {
(fetchpatch {
# Fix HashIndexSizeTestCase.test_size_on_disk_accurate problems on ZFS,
# see https://github.com/borgbackup/borg/issues/7250
url = "https://github.com/borgbackup/borg/pull/7252/commits/537a814e53e20013a041faa7192da005f137cf5b.patch";
hash = "sha256-dnF/FW8pS4Ub9aAL4b7zf6ZNjMZaiMqdtl5R+DlAZTM=";
url = "https://github.com/borgbackup/borg/pull/7252/commits/fe3775cf8078c18d8fe39a7f42e52e96d3ecd054.patch";
hash = "sha256-gdssHfhdkmRfSAOeXsq9Afg7xqGM3NLIq4QnzmPBhw4=";
})
];