mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
rosa: set passthru.updateScript to nix-update-script
This commit is contained in:
parent
97d675f411
commit
5e221931a4
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue