mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: rbw: Fix bash completion directory.
* gnu/packages/rust-apps.scm (rbw)[arguments]: Adjust the custom 'install-completions phase to install the bash completions in the correct directory. Change-Id: Icbc1cca324c503aa4171c581446cc0798311fe2a
This commit is contained in:
parent
e4c31be0aa
commit
f5d95d6d19
1 changed files with 2 additions and 2 deletions
|
@ -3358,9 +3358,9 @@ runs a command whenever it detects modifications.")
|
||||||
(rbw (if ,(%current-target-system)
|
(rbw (if ,(%current-target-system)
|
||||||
(search-input-file native-inputs "/bin/rbw")
|
(search-input-file native-inputs "/bin/rbw")
|
||||||
(string-append out "/bin/rbw"))))
|
(string-append out "/bin/rbw"))))
|
||||||
(mkdir-p (string-append share "/bash-completion/completions"))
|
(mkdir-p (string-append out "/etc/bash_completion.d"))
|
||||||
(with-output-to-file
|
(with-output-to-file
|
||||||
(string-append share "/bash-completion/completions/rbw")
|
(string-append out "/etc/bash_completion.d/rbw")
|
||||||
(lambda _ (invoke rbw "gen-completions" "bash")))
|
(lambda _ (invoke rbw "gen-completions" "bash")))
|
||||||
(mkdir-p (string-append share "/fish/vendor_completions.d"))
|
(mkdir-p (string-append share "/fish/vendor_completions.d"))
|
||||||
(with-output-to-file
|
(with-output-to-file
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue