summary refs log tree commit diff
path: root/gnu/packages/backup.scm
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2017-12-16 16:04:53 -0500
committerLeo Famulari <leo@famulari.name>2017-12-16 16:33:32 -0500
commite908a5af89614987302b32ac84e7d3af1c33e549 (patch)
treead1f2a93cfb7583d1524f151b82792d69a6956f1 /gnu/packages/backup.scm
parentdafc3dafeada11e4df043bf751a611b1ac8fc22a (diff)
downloadguix-e908a5af89614987302b32ac84e7d3af1c33e549.tar.gz
gnu: borg: Fix a data loss bug.
See <https://github.com/borgbackup/borg/issues/3444> for more information.

* gnu/packages/patches/borg-fix-archive-corruption-bug.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/backup.scm (borg)[source]: Use it.
Diffstat (limited to 'gnu/packages/backup.scm')
-rw-r--r--gnu/packages/backup.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index f021aa83d8..e634d6ab96 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -470,6 +470,7 @@ detection, and lossless compression.")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "borgbackup" version))
+              (patches (search-patches "borg-fix-archive-corruption-bug.patch"))
               (sha256
                (base32
                 "1rvn8b6clzd1r317r9jkvk34r31risi0dxfjc7jffhnwasck4anc"))