me
/
guix
Archived
1
0
Fork 0

gnu: duplicity: Use ‘search-input-file’.

* gnu/packages/backup.scm (duplicity)[arguments]: In
‘use-store-file-names’ phase, use ‘search-input-file’.

Change-Id: I4b66a22283fc6e426377ad9f4f4c451598eb74e0
master
Ludovic Courtès 2023-11-22 16:15:16 +01:00
parent f7995b6644
commit ad40a5d0e2
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 5 additions and 3 deletions

View File

@ -146,12 +146,14 @@
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "duplicity/gpginterface.py"
(("self.call = u'gpg'")
(string-append "self.call = '" (assoc-ref inputs "gnupg") "/bin/gpg'")))
(string-append "self.call = '"
(search-input-file inputs "/bin/gpg")
"'")))
(substitute* "duplicity/backends/giobackend.py"
(("subprocess.Popen\\(\\[u'dbus-launch'\\]")
(string-append "subprocess.Popen([u'"
(assoc-ref inputs "dbus")
"/bin/dbus-launch']")))
(search-input-file inputs "/bin/dbus-launch")
"']")))
(substitute* '("testing/functional/__init__.py"
"testing/overrides/bin/lftp")
(("/bin/sh") (which "sh")))))