gnu: pass-otp: Fix for bash 5.2.

* gnu/packages/password-utils.scm (pass-otp)[#:phases]
<patch-oath-path>: Add another substitution.  Remove trailing #t.

Change-Id: Ia49eea77e7175aa861f0f291d28ac31e6a4aa319
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Ashish SHUKLA 2025-07-19 12:04:34 +00:00 committed by Andreas Enge
parent 1a76e68d29
commit 00af47b83b
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -1046,8 +1046,10 @@ from the @code{password-store} package. Files are encrypted with the
(string-append
"OATH="
(assoc-ref inputs "oath-toolkit")
"/bin/oathtool\n")))
#t)))
"/bin/oathtool\n"))
;; courtesy: https://github.com/tadfisher/pass-otp/pull/172
(("&counter=[$]counter" all)
(format #f "~s" all))))))
#:test-target "test"))
(inputs
(list oath-toolkit))