diff options
author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2024-03-30 09:47:43 +0100 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2024-03-30 09:47:43 +0100 |
commit | a915a57d91c54e926b625f98833dead8263607b0 (patch) | |
tree | 24b4b9070055733acad9b2c0bdfcda2fa5affbd4 /gnu/packages/backup.scm | |
parent | 4b23fd7adbddc1bc18b209912c0f3ef369da2f24 (diff) | |
parent | 704e09f1626303625e1e4eea552bff3a05303e89 (diff) |
Merge branch 'gnome-team'
Diffstat (limited to 'gnu/packages/backup.scm')
-rw-r--r-- | gnu/packages/backup.scm | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index 253ab74a19..604102bc7b 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -121,6 +121,7 @@ (build-system python-build-system) (native-inputs (list gettext-minimal ; for msgfmt + gobject-introspection util-linux ; setsid command, for the tests par2cmdline python-fasteners @@ -135,7 +136,8 @@ (propagated-inputs (list python-lockfile python-pygobject python-urllib3)) (inputs - (list dbus ; dbus-launch (Gio backend) + (list bash-minimal ; to run the wrapped program + dbus ; dbus-launch (Gio backend) librsync lftp gnupg ; gpg executable needed @@ -175,7 +177,12 @@ "share/zoneinfo")) ;; Some things respect TMPDIR, others hard-code /tmp, and the ;; defaults don't match up, breaking test_restart. Fix it. - (setenv "TMPDIR" "/tmp")))))) + (setenv "TMPDIR" "/tmp"))) + (add-after 'wrap 'gi-wrap + (lambda _ + (let ((prog (string-append #$output "/bin/duplicity"))) + (wrap-program prog + `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))))) (home-page "https://duplicity.gitlab.io/duplicity-web/") (synopsis "Encrypted backup using rsync algorithm") (description |