rosa: set passthru.updateScript to nix-update-script

This commit is contained in:
Jean-Francois Chevrette 2024-04-09 12:23:20 -04:00
parent 97d675f411
commit 5e221931a4

View File

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, rosa }:
{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, rosa, nix-update-script }:
buildGoModule rec {
pname = "rosa";
@ -24,10 +24,13 @@ buildGoModule rec {
--zsh <($out/bin/rosa completion zsh)
'';
passthru.tests.version = testers.testVersion {
passthru = {
tests.version = testers.testVersion {
package = rosa;
command = "rosa version --client";
};
updateScript = nix-update-script { };
};
meta = with lib; {
description = "CLI for the Red Hat OpenShift Service on AWS";