Unverified Commit c0293790 authored by éclairevoyant's avatar éclairevoyant Committed by GitHub
Browse files

Merge pull request #302872 from jfchevrette/rosa-update-script

rosa: set passthru.updateScript to nix-update-script
parents 0ab07de2 5e221931
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
{ 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";