ngz pushed a commit to branch master
in repository guix.

commit 14d4ff6cae0fcb4d3a7267c5f578e02da85c64de
Author: Tobias Kortkamp <[email protected]>
AuthorDate: Mon May 22 09:44:47 2023 +0200

    gnu: password-store: Fix program name in usage and tmpdir.
    
    * gnu/packages/password-utils.scm (password-store): Fix program name in
    usage and tmpdir.
    
    Signed-off-by: Nicolas Goaziou <[email protected]>
---
 gnu/packages/password-utils.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index db22f257f1..897f5b1bdd 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -618,6 +618,12 @@ any X11 window.")
                                  "${PASSWORD_STORE_SYSTEM_EXTENSION_DIR:-"
                                  extension-dir
                                  "}\"\n"))))))
+         (add-before 'install 'patch-program-name
+           ;; Use pass not .pass-real in tmpdir and cmd_usage
+           (lambda _
+             (substitute* "src/password-store.sh"
+               (("^PROGRAM=.*$")
+                "PROGRAM=\"pass\"\n"))))
          (add-before 'install 'patch-passmenu-path
            ;; FIXME Wayland support requires ydotool and dmenu-wl packages
            ;; We are ignoring part of the script that gets executed if

Reply via email to