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
1 changed files with 7 additions and 4 deletions

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,9 +24,12 @@ buildGoModule rec {
--zsh <($out/bin/rosa completion zsh)
'';
passthru.tests.version = testers.testVersion {
package = rosa;
command = "rosa version --client";
passthru = {
tests.version = testers.testVersion {
package = rosa;
command = "rosa version --client";
};
updateScript = nix-update-script { };
};
meta = with lib; {