Skip to content

Commit

Permalink
waagent: add passthru.tests
Browse files Browse the repository at this point in the history
  • Loading branch information
codgician committed Dec 7, 2024
1 parent 0d7c515 commit 2e1477d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pkgs/by-name/wa/waagent/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
python3,
bash,
gitUpdater,
nixosTests,
}:

let
Expand Down Expand Up @@ -64,8 +65,13 @@ python.pkgs.buildPythonApplication rec {

dontWrapPythonPrograms = false;

passthru.updateScript = gitUpdater {
rev-prefix = "v";
passthru = {
tests = {
inherit (nixosTests) waagent;
};
updateScript = gitUpdater {
rev-prefix = "v";
};
};

meta = with lib; {
Expand Down

0 comments on commit 2e1477d

Please sign in to comment.