mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 12:39:36 -05:00
gnu: password-store: Install fish and zsh completions.
* gnu/packages/password-utils.scm (password-store)[arguments]: Remove phase install-shell-completions. Adjust make-flags.
This commit is contained in:
parent
24d9354c80
commit
df931ac39c
1 changed files with 5 additions and 10 deletions
|
@ -25,6 +25,7 @@
|
|||
;;; Copyright © 2019 Jens Mølgaard <jens@zete.tk>
|
||||
;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
|
||||
;;; Copyright © 2020 Guillaume Le Vaillant <glv@posteo.net>
|
||||
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -497,17 +498,11 @@ (define-public password-store
|
|||
"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
|
||||
|
|
Loading…
Reference in a new issue