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