waagent: add passthru.tests

This commit is contained in:
codgician 2024-12-07 23:34:00 +08:00
parent 0d7c515332
commit 2e1477ddc8
No known key found for this signature in database

View file

@ -5,6 +5,7 @@
python3, python3,
bash, bash,
gitUpdater, gitUpdater,
nixosTests,
}: }:
let let
@ -64,8 +65,13 @@ python.pkgs.buildPythonApplication rec {
dontWrapPythonPrograms = false; dontWrapPythonPrograms = false;
passthru.updateScript = gitUpdater { passthru = {
rev-prefix = "v"; tests = {
inherit (nixosTests) waagent;
};
updateScript = gitUpdater {
rev-prefix = "v";
};
}; };
meta = with lib; { meta = with lib; {