scaleway-cli: configured installCheckPhase

This commit is contained in:
kashw2 2023-12-24 07:22:59 +10:00
parent 6a64808fc8
commit da84afe312

View file

@ -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";