From feca10b61d727a61aa142ece4b5acd0281c2ed8a Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Tue, 10 Nov 2020 13:39:08 +0000 Subject: [PATCH] kube3d: move to new installShellCompletion style --- pkgs/applications/networking/cluster/kube3d/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/cluster/kube3d/default.nix b/pkgs/applications/networking/cluster/kube3d/default.nix index af91f0fe7e6d..f6306ef9043d 100644 --- a/pkgs/applications/networking/cluster/kube3d/default.nix +++ b/pkgs/applications/networking/cluster/kube3d/default.nix @@ -23,12 +23,11 @@ buildGoModule rec { nativeBuildInputs = [ installShellFiles ]; - # TODO: Move to enhanced installShellCompletion when in master: PR #83630 postInstall = '' - $out/bin/k3d completion bash > k3d.bash - $out/bin/k3d completion fish > k3d.fish - $out/bin/k3d completion zsh > _k3d - installShellCompletion k3d.{bash,fish} --zsh _k3d + installShellCompletion --cmd k3d \ + --bash <($out/bin/k3d completion bash) \ + --fish <($out/bin/k3d completion fish) \ + --zsh <($out/bin/k3d completion zsh) ''; vendorSha256 = null;