summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish.is@lostca.se>2025-07-19 12:04:34 +0000
committerAndreas Enge <andreas@enge.fr>2025-07-19 16:40:19 +0200
commit00af47b83bf28002bedba5de964963d1bed7129f (patch)
tree44dca7afb8e8a1b53edc29662ffe61fb21d1681f
parent1a76e68d2938b1be17faee4abc525771ffe8c76a (diff)
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>
-rw-r--r--gnu/packages/password-utils.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 1646f1d2a9..7e5d6acbb7 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -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))