3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: deja-dup: Let deja-dup find duplicity.

* gnome.scm (deja-dup)[phases]: Wrap deja-dup to include duplicity
in PATH.
[inputs]: Add bash-minimal.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Vivien Kraus 2021-10-14 17:30:09 +02:00 committed by Efraim Flashner
parent e4abf26a0f
commit 5a6411f684
Signed by untrusted user: efraim
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1773,9 +1773,17 @@ configuration files for the GNOME menu, as well as a simple menu editor.")
(lambda _
(substitute* "data/post-install.sh"
(("gtk-update-icon-cache") "true"))
#t)))))
#t))
(add-after 'install 'wrap-program
(lambda* (#:key inputs outputs #:allow-other-keys)
;; Add duplicity to the search path
(wrap-program (string-append (assoc-ref outputs "out")
"/bin/deja-dup")
`("PATH" ":" prefix
(,(string-append (assoc-ref inputs "duplicity") "/bin")))))))))
(inputs
`(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
`(("bash-minimal" ,bash-minimal)
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("duplicity" ,duplicity)
("python" ,python)
("python-pygobject" ,python-pygobject)