aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2024-09-08 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2024-09-08 02:00:00 +0200
commit4729cef6bd55dcb3c94b601875c22f86592c9f9c (patch)
tree521780c408a1d64ac94fb0884fd0ec9a029dbc69 /gnu
parent4b9b1ec787dd98c51e5b7e179845702a455c47a4 (diff)
downloadguix-4729cef6bd55dcb3c94b601875c22f86592c9f9c.tar
guix-4729cef6bd55dcb3c94b601875c22f86592c9f9c.tar.gz
gnu: aerc: Don't rely on input labels.
* gnu/packages/mail.scm (aerc)[arguments]: Test for …/bin/zoxide directly. Change-Id: I6492bd969048a548c45504c0897b851f369277b9
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/mail.scm11
1 files changed, 5 insertions, 6 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 252330415f..52ac86dfbd 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -5086,12 +5086,11 @@ remote SMTP server.")
(string-append
"\"" (search-input-file inputs "bin/sh")
"\"")))
- (when (assoc-ref inputs "zoxide")
- (substitute* "commands/z.go"
- (("\"zoxide\"")
- (string-append
- "\"" (search-input-file inputs "bin/zoxide")
- "\""))))
+ (let ((zoxide (search-input-file inputs "bin/zoxide")))
+ (when zoxide
+ (substitute* "commands/z.go"
+ (("\"zoxide\"")
+ (string-append "\"" zoxide "\"")))))
(substitute* (list "lib/crypto/gpg/gpg.go"
"lib/crypto/gpg/gpg_test.go"
"lib/crypto/gpg/gpgbin/keys.go"