kubernetes: add bash completions
This commit is contained in:
parent
873e818339
commit
ef24c93f72
@ -40,11 +40,13 @@ stdenv.mkDerivation rec {
|
||||
postBuild = "(cd build/pause && gcc pause.c -o pause)";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/bin" "$man/share/man" "$pause/bin"
|
||||
mkdir -p "$out/bin" "$out/share/bash-completion/completions" "$man/share/man" "$pause/bin"
|
||||
|
||||
cp _output/local/go/bin/* "$out/bin/"
|
||||
cp build/pause/pause "$pause/bin/pause"
|
||||
cp -R docs/man/man1 "$man/share/man"
|
||||
|
||||
$out/bin/kubectl completion bash > $out/share/bash-completion/completions/kubectl
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
|
Loading…
Reference in New Issue
Block a user