tree-wide: unify Bash completions outputs (#103421)

Use $out/share/bash-completion/completions to store the Bash completions
This commit is contained in:
Jonas Chevalier
2020-11-12 21:22:18 +00:00
committed by GitHub
parent 3fceafce1e
commit a7cb88c3de
25 changed files with 46 additions and 41 deletions
@@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ perl git ];
postInstall = ''
install -Dm644 README -t"$out/share/doc/${pname}-${version}/"
install -Dm755 contrib/tg-completion.bash -t "$out/etc/bash_completion.d/"
install -Dm644 README -t "$out/share/doc/${pname}-${version}/"
install -Dm755 contrib/tg-completion.bash -t "$out/share/bash-completion/completions/"
'';
meta = with stdenv.lib; {