diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-11-19 10:13:29 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-11-19 10:13:29 +0200 |
commit | c22e027828e7bc75afe6e67b5a328224e16617b4 (patch) | |
tree | c6cf3e06160cc33bfe023b08929755f37ecb52c0 /gnu | |
parent | 7c5d4031c9572e51f64ba82cc909aa2ffdeda47e (diff) | |
download | guix-c22e027828e7bc75afe6e67b5a328224e16617b4.tar.gz guix-c22e027828e7bc75afe6e67b5a328224e16617b4.zip |
gnu: wl-clipboard: Fix shell completion directories.
* gnu/packages/xdisorg.scm (wl-clipboard)[arguments]: Adjust
configure-flags to install fish completions into correct directory. Add
a phase to install the bash completions into the correct directory.
Change-Id: If31b477926e3d4c1d8f74e9224af2dea59740f77
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/xdisorg.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 553b733a6b..fe70d25e3b 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -2773,9 +2773,16 @@ Wayland and @code{wlroots} by leveraging @command{grim} and @command{slurp}.") #~(list (string-append "-Dzshcompletiondir=" #$output "/share/zsh/site-functions") (string-append "-Dfishcompletiondir=" #$output - "/share/fish/completions")) + "/share/fish/vendor_completions.d")) #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'fix-bash-completion-dir + (lambda _ + (substitute* "completions/bash/meson.build" + (("bash_completion_dir =.*") + (string-append "bash_completion_dir = " + "join_paths(get_option('sysconfdir'), " + "'bash_completion.d')\n"))))) (add-after 'unpack 'patch-file-names (lambda* (#:key inputs #:allow-other-keys) (substitute* (find-files "src" "\\.c$") |