summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTobias Kortkamp <tobias.kortkamp@gmail.com>2023-05-22 09:44:47 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-01 10:40:11 +0200
commit14d4ff6cae0fcb4d3a7267c5f578e02da85c64de (patch)
treef0b3c6dae5955a3510daf3c23093ce4377a126a4 /gnu/packages
parent244baa607dd98746498f4599d5f4a6e278dab502 (diff)
downloadguix-14d4ff6cae0fcb4d3a7267c5f578e02da85c64de.tar.gz
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 <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/password-utils.scm6
1 files changed, 6 insertions, 0 deletions
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