gnu: aerc: Don't rely on input labels.

* gnu/packages/mail.scm (aerc)[arguments]: Test for …/bin/zoxide directly.

Change-Id: I6492bd969048a548c45504c0897b851f369277b9
This commit is contained in:
Tobias Geerinckx-Rice 2024-09-08 02:00:00 +02:00
parent 4b9b1ec787
commit 4729cef6bd
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -5086,12 +5086,11 @@ remote SMTP server.")
(string-append (string-append
"\"" (search-input-file inputs "bin/sh") "\"" (search-input-file inputs "bin/sh")
"\""))) "\"")))
(when (assoc-ref inputs "zoxide") (let ((zoxide (search-input-file inputs "bin/zoxide")))
(substitute* "commands/z.go" (when zoxide
(("\"zoxide\"") (substitute* "commands/z.go"
(string-append (("\"zoxide\"")
"\"" (search-input-file inputs "bin/zoxide") (string-append "\"" zoxide "\"")))))
"\""))))
(substitute* (list "lib/crypto/gpg/gpg.go" (substitute* (list "lib/crypto/gpg/gpg.go"
"lib/crypto/gpg/gpg_test.go" "lib/crypto/gpg/gpg_test.go"
"lib/crypto/gpg/gpgbin/keys.go" "lib/crypto/gpg/gpgbin/keys.go"