diff options
author | Tobias Kortkamp <tobias.kortkamp@gmail.com> | 2023-05-22 09:44:47 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-07-01 10:40:11 +0200 |
commit | 14d4ff6cae0fcb4d3a7267c5f578e02da85c64de (patch) | |
tree | f0b3c6dae5955a3510daf3c23093ce4377a126a4 | |
parent | 244baa607dd98746498f4599d5f4a6e278dab502 (diff) | |
download | guix-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>
-rw-r--r-- | gnu/packages/password-utils.scm | 6 |
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 |