mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-01 06:45:55 +02: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:
@@ -3358,9 +3358,9 @@ runs a command whenever it detects modifications.")
|
||||
(rbw (if ,(%current-target-system)
|
||||
(search-input-file native-inputs "/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
|
||||
(string-append share "/bash-completion/completions/rbw")
|
||||
(string-append out "/etc/bash_completion.d/rbw")
|
||||
(lambda _ (invoke rbw "gen-completions" "bash")))
|
||||
(mkdir-p (string-append share "/fish/vendor_completions.d"))
|
||||
(with-output-to-file
|
||||
|
||||
Reference in New Issue
Block a user