kube3d: move to new installShellCompletion style

This commit is contained in:
06kellyjac 2020-11-10 13:39:08 +00:00
parent dc506de1fe
commit feca10b61d

View file

@ -23,12 +23,11 @@ buildGoModule rec {
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
# TODO: Move to enhanced installShellCompletion when in master: PR #83630
postInstall = '' postInstall = ''
$out/bin/k3d completion bash > k3d.bash installShellCompletion --cmd k3d \
$out/bin/k3d completion fish > k3d.fish --bash <($out/bin/k3d completion bash) \
$out/bin/k3d completion zsh > _k3d --fish <($out/bin/k3d completion fish) \
installShellCompletion k3d.{bash,fish} --zsh _k3d --zsh <($out/bin/k3d completion zsh)
''; '';
vendorSha256 = null; vendorSha256 = null;