From c57e1e118da577d01bfe1cc5d10a7561af5be816 Mon Sep 17 00:00:00 2001 From: Cayetano Santos Date: Wed, 17 Dec 2025 14:39:14 +0100 Subject: [PATCH] gnu: fd: Fix bash completions path. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/rust-apps.scm (fd)[arguments]: Fix ’install-extras #:phase. Change-Id: I84679a71803ee7dce4a1c4996d8a4668b7d1b109 --- gnu/packages/rust-apps.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 62b8e1fe62..847c7c8150 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -45,6 +45,7 @@ ;;; Copyright © 2025 Samuel Sehnert ;;; Copyright © 2025 Julian Flake ;;; Copyright © 2025 Ahmad Jarara +;;; Copyright © 2025 Cayetano Santos ;;; ;;; 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")