Merge pull request #166038 from bryanasdev000/rancher-264

rancher: 2.6.0 -> 2.6.4
This commit is contained in:
Thiago Kenji Okada 2022-03-28 09:27:40 +01:00 committed by GitHub
commit e801b166e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,14 +1,14 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "rancher-cli";
version = "2.6.0";
pname = "rancher";
version = "2.6.4";
src = fetchFromGitHub {
owner = "rancher";
repo = "cli";
rev = "v${version}";
sha256 = "sha256-RfhcTo10nkHmKGwmS8WdjBioZhDIGSQ9vPPOv3Wg0Y4=";
sha256 = "sha256-5ceyScsCidJpHGfwhsq7/hDd3CClx29cD5Cdc1PSxTU=";
};
ldflags = [
@ -25,8 +25,6 @@ buildGoModule rec {
mv $out/bin/cli $out/bin/rancher
'';
doCheck = true;
doInstallCheck = true;
installCheckPhase = ''
$out/bin/rancher | grep ${version} > /dev/null