about summary refs log tree commit diff
path: root/pkgs/development/tools/backblaze-b2
diff options
context:
space:
mode:
authorJonas Chevalier <zimbatm@zimbatm.com>2020-11-12 22:22:18 +0100
committerGitHub <noreply@github.com>2020-11-12 21:22:18 +0000
commita7cb88c3def629f4d950d819254c27c1b328b2ac (patch)
treed3dd7ffff60eb64d78eea70761f60830245e979c /pkgs/development/tools/backblaze-b2
parent3fceafce1eaa82c36a21153efbf7c1ee87af7b0e (diff)
downloadnixlib-a7cb88c3def629f4d950d819254c27c1b328b2ac.tar
nixlib-a7cb88c3def629f4d950d819254c27c1b328b2ac.tar.gz
nixlib-a7cb88c3def629f4d950d819254c27c1b328b2ac.tar.bz2
nixlib-a7cb88c3def629f4d950d819254c27c1b328b2ac.tar.lz
nixlib-a7cb88c3def629f4d950d819254c27c1b328b2ac.tar.xz
nixlib-a7cb88c3def629f4d950d819254c27c1b328b2ac.tar.zst
nixlib-a7cb88c3def629f4d950d819254c27c1b328b2ac.zip
tree-wide: unify Bash completions outputs (#103421)
Use $out/share/bash-completion/completions to store the Bash completions
Diffstat (limited to 'pkgs/development/tools/backblaze-b2')
-rw-r--r--pkgs/development/tools/backblaze-b2/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/backblaze-b2/default.nix b/pkgs/development/tools/backblaze-b2/default.nix
index 46e54465ab67..32161a437986 100644
--- a/pkgs/development/tools/backblaze-b2/default.nix
+++ b/pkgs/development/tools/backblaze-b2/default.nix
@@ -35,8 +35,8 @@ python3Packages.buildPythonApplication rec {
 
     sed 's/b2/backblaze-b2/' -i contrib/bash_completion/b2
 
-    mkdir -p "$out/etc/bash_completion.d"
-    cp contrib/bash_completion/b2 "$out/etc/bash_completion.d/backblaze-b2"
+    mkdir -p "$out/share/bash-completion/completions"
+    cp contrib/bash_completion/b2 "$out/share/bash-completion/completions/backblaze-b2"
   '';
 
   meta = with lib; {