GNU bug report logs -
#52659
Vorta GUI for Borg backup
Previous Next
Reported by: Leo Famulari <leo <at> famulari.name>
Date: Sun, 19 Dec 2021 17:42:01 UTC
Severity: normal
Done: Leo Famulari <leo <at> famulari.name>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
---
gnu/packages/backup.scm | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index e2a37d182b..16353682dd 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -1209,11 +1209,10 @@ (define-public vorta
(modify-phases %standard-phases
(add-after 'unpack 'patch-borg-path
(lambda* (#:key inputs #:allow-other-keys)
- (let ((borg (string-append (assoc-ref inputs "borg")
- "/bin/borg")))
- (substitute* "src/vorta/borg/borg_job.py"
- (("which\\('borg'\\)")
- (string-append "which('" borg "')"))))))
+ (substitute* "src/vorta/borg/borg_job.py"
+ (("which\\('borg'\\)")
+ (string-append "which('" ,#$(this-package-input borg)
+ "/bin/borg')")))))
;; XXX This phase tries to write to $HOME
(add-before 'sanity-check 'set-HOME
(lambda _
--
2.34.0
This bug report was last modified 3 years and 119 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.