From 00af47b83bf28002bedba5de964963d1bed7129f Mon Sep 17 00:00:00 2001 From: Ashish SHUKLA Date: Sat, 19 Jul 2025 12:04:34 +0000 Subject: [PATCH] gnu: pass-otp: Fix for bash 5.2. * gnu/packages/password-utils.scm (pass-otp)[#:phases] : Add another substitution. Remove trailing #t. Change-Id: Ia49eea77e7175aa861f0f291d28ac31e6a4aa319 Signed-off-by: Andreas Enge --- gnu/packages/password-utils.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index 1646f1d2a9a..7e5d6acbb73 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))