lol

meson: install shell completions

meson ships with both bash and zsh completions, the zsh completions are
more complete than the bash ones.

authored by

Dylan Baker and committed by
Jonathan Ringer
1bf59887 f1957cd7

+8
+8
pkgs/development/tools/build-managers/meson/default.nix
··· 4 4 , writeTextDir 5 5 , substituteAll 6 6 , fetchpatch 7 + , installShellFiles 7 8 }: 8 9 9 10 python3.pkgs.buildPythonApplication rec { ··· 75 76 76 77 # Do not propagate Python 77 78 rm $out/nix-support/propagated-build-inputs 79 + ''; 80 + 81 + nativeBuildInputs = [ installShellFiles ]; 82 + 83 + postInstall = '' 84 + installShellCompletion --zsh data/shell-completions/zsh/_meson 85 + installShellCompletion --bash data/shell-completions/bash/meson 78 86 ''; 79 87 80 88 meta = with lib; {