Merge pull request #103304 from 06kellyjac/kube3d_3.2.0
This commit is contained in:
commit
40a8763237
1 changed files with 6 additions and 7 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "kube3d";
|
||||
version = "3.1.5";
|
||||
version = "3.2.0";
|
||||
k3sVersion = "1.18.9-k3s1";
|
||||
|
||||
excludedPackages = ''tools'';
|
||||
|
@ -11,7 +11,7 @@ buildGoModule rec {
|
|||
owner = "rancher";
|
||||
repo = "k3d";
|
||||
rev = "v${version}";
|
||||
sha256 = "0aspkar9im323d8117k48fvh1yylyspi2p2l2f5rdg1ilpa6hm53";
|
||||
sha256 = "0jy0l8rvmwi0qznnvv97v50lfkpc2bwjmbnq4pxnmf9ih970wjwh";
|
||||
};
|
||||
|
||||
buildFlagsArray = ''
|
||||
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue