mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #279635 from NickCao/k0sctl
k0sctl: 0.16.0 -> 0.17.3
This commit is contained in:
commit
4048ac27bd
1 changed files with 3 additions and 6 deletions
|
@ -6,16 +6,16 @@
|
|||
|
||||
buildGo121Module rec {
|
||||
pname = "k0sctl";
|
||||
version = "0.16.0";
|
||||
version = "0.17.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "k0sproject";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-DUDvsF4NCFimpW9isqEhodieiJXwjhwhfXR2t/ho3kE=";
|
||||
hash = "sha256-KdD4Wy6PQJQWHnFntYAm/gstWv82AgKK4XvQVM1fnL4=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-eJTVUSAcgE1AaOCEEc202sC0yIfMj30UoK/ObowJ9Zk=";
|
||||
vendorHash = "sha256-0P1v7mZ+k7Th8/cwxRNlhDodzyagv0V9ZBXy1BUGk+k=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
|
@ -27,9 +27,6 @@ buildGo121Module rec {
|
|||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
# https://github.com/k0sproject/k0sctl/issues/569
|
||||
checkFlags = [ "-skip=^Test(Unmarshal|VersionDefaulting)/version_not_given$" ];
|
||||
|
||||
postInstall = ''
|
||||
for shell in bash zsh fish; do
|
||||
installShellCompletion --cmd ${pname} \
|
||||
|
|
Loading…
Reference in a new issue