~ruther/guix-local

c57e1e118da577d01bfe1cc5d10a7561af5be816 — Cayetano Santos 2 months ago b770d4b
gnu: fd: Fix bash completions path.

* gnu/packages/rust-apps.scm (fd)[arguments]: Fix ’install-extras #:phase.

Change-Id: I84679a71803ee7dce4a1c4996d8a4668b7d1b109
1 files changed, 4 insertions(+), 3 deletions(-)

M gnu/packages/rust-apps.scm
M gnu/packages/rust-apps.scm => gnu/packages/rust-apps.scm +4 -3
@@ 45,6 45,7 @@
;;; Copyright © 2025 Samuel Sehnert <mail@buffersquid.com>
;;; Copyright © 2025 Julian Flake <julian@flake.de>
;;; Copyright © 2025 Ahmad Jarara <ajarara@fastmail.com>
;;; Copyright © 2025 Cayetano Santos <csantosb@inventati.org>
;;;
;;; This file is part of GNU Guix.
;;;


@@ 1179,13 1180,13 @@ JSON, so you have a lot of control over the search and cleanup process.")
                (unless #$(%current-target-system)
                  (invoke "make" "completions")
                  (install-file "autocomplete/fd.bash"
                                (string-append out "/etc/bash_completion.d"))
                                (string-append out "/share/bash-completion/completions"))
                  (install-file "autocomplete/fd.fish"
                                (string-append out "/share/fish/vendor_completions.d"))
                  (install-file "autocomplete/_fd"
                                (string-append out "/share/zsh/site-functions"))
                  (rename-file (string-append out "/etc/bash_completion.d/fd.bash")
                               (string-append out "/etc/bash_completion.d/fd")))))))))
                  (rename-file (string-append out "/share/bash-completion/completions/fd.bash")
                               (string-append out "/share/bash-completion/completions/fd")))))))))
     (inputs (cons jemalloc (cargo-inputs 'fd)))
     (home-page "https://github.com/sharkdp/fd")
     (synopsis "Simple, fast and user-friendly alternative to find")