[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: password-store: Install fish and zsh complet
From: |
guix-commits |
Subject: |
branch master updated: gnu: password-store: Install fish and zsh completions. |
Date: |
Sun, 09 Feb 2020 19:09:46 -0500 |
This is an automated email from the git hooks/post-receive script.
ngz pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new df931ac gnu: password-store: Install fish and zsh completions.
df931ac is described below
commit df931ac39c40ac8a702e37cb434d9a1016606ed7
Author: Brice Waegeneire <address@hidden>
AuthorDate: Sun Feb 9 10:11:25 2020 +0100
gnu: password-store: Install fish and zsh completions.
* gnu/packages/password-utils.scm (password-store)[arguments]: Remove
phase install-shell-completions. Adjust make-flags.
---
gnu/packages/password-utils.scm | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 8d74490..1e93e5d 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -25,6 +25,7 @@
;;; Copyright © 2019 Jens Mølgaard <address@hidden>
;;; Copyright © 2019 Tanguy Le Carrour <address@hidden>
;;; Copyright © 2020 Guillaume Le Vaillant <address@hidden>
+;;; Copyright © 2020 Brice Waegeneire <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -497,17 +498,11 @@ any X11 window.")
"sed" "tree" "which" "xclip"))))
(wrap-program (string-append out "/bin/pass")
`("PATH" ":" prefix (,(string-join path ":"))))
- #t)))
- (add-after 'wrap-path 'install-shell-completions
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (bashcomp (string-append out "/etc/bash_completion.d")))
- ;; TODO: install fish and zsh completions.
- (mkdir-p bashcomp)
- (copy-file "src/completion/pass.bash-completion"
- (string-append bashcomp "/pass"))
#t))))
- #:make-flags (list "CC=gcc" (string-append "PREFIX=" %output))
+ #:make-flags (list "CC=gcc" (string-append "PREFIX=" %output)
+ "WITH_ALLCOMP=yes"
+ (string-append "BASHCOMPDIR="
+ %output "/etc/bash_completion.d"))
;; Parallel tests may cause a race condition leading to a
;; timeout in some circumstances.
#:parallel-tests? #f
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: password-store: Install fish and zsh completions.,
guix-commits <=