kbst: remove PostInstallCheckPhase
Should've been postInstallCheckPhase, but in fact, the check would fail anyway. Otherwise, replacing with versionCheckHook would've been nice.
This commit is contained in:
@@ -11,7 +11,7 @@ buildGoModule (finalAttrs: {
|
||||
src = fetchFromGitHub {
|
||||
owner = "kbst";
|
||||
repo = "kbst";
|
||||
rev = "v${finalAttrs.version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-tbSYNJp/gzEz+wEAe3bvIiZL5axZvW+bxqTOBkYSpMY=";
|
||||
};
|
||||
|
||||
@@ -33,11 +33,6 @@ buildGoModule (finalAttrs: {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
doPostInstallCheck = true;
|
||||
PostInstallCheckPhase = ''
|
||||
$out/bin/kbst help | grep v${finalAttrs.version} > /dev/null
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Kubestack framework CLI";
|
||||
mainProgram = "kbst";
|
||||
|
||||
Reference in New Issue
Block a user