scaleway-cli: configured installCheckPhase
This commit is contained in:
parent
6a64808fc8
commit
da84afe312
1 changed files with 10 additions and 0 deletions
|
@ -42,6 +42,16 @@ buildGoModule rec {
|
|||
--replace "TestSdkStandardErrors" "SkipSdkStandardErrors"
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
installCheckPhase = ''
|
||||
runHook preInstallCheck
|
||||
|
||||
$out/bin/scw --help
|
||||
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Interact with Scaleway API from the command line";
|
||||
homepage = "https://github.com/scaleway/scaleway-cli";
|
||||
|
|
Loading…
Reference in a new issue