minikube: add bash completions

This commit is contained in:
Jaka Hudoklin 2016-12-11 14:57:02 +01:00
parent ef24c93f72
commit c316dd1cc7

View File

@ -30,6 +30,9 @@ stdenv.mkDerivation rec {
installPhase = '' installPhase = ''
cp $src $out/bin/${pname} cp $src $out/bin/${pname}
chmod +x $out/bin/${pname} chmod +x $out/bin/${pname}
mkdir -p $out/share/bash-completion/completions/
HOME=$(pwd) $out/bin/minikube completion bash > $out/share/bash-completion/completions/minikube
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {