podman: add version test for all platforms

This commit is contained in:
zowoq 2023-02-10 08:40:57 +10:00
parent 02f9255044
commit 5ecc72cb5b

View File

@ -128,6 +128,11 @@ buildGoModule rec {
'';
passthru.tests = {
version = testers.testVersion {
package = podman;
command = "HOME=$TMPDIR podman --version";
};
} // lib.optionalAttrs stdenv.isLinux {
inherit (nixosTests) podman;
# related modules
inherit (nixosTests)