From 5a251359a84fe15a09a65ab5ade220de525dd693 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Mon, 22 Mar 2021 15:35:05 +1000 Subject: [PATCH] catatonit: add `passthru.tests` and `teams.podman` --- pkgs/applications/virtualization/catatonit/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/virtualization/catatonit/default.nix b/pkgs/applications/virtualization/catatonit/default.nix index 8ecc5f56fe6a..c44db31f50cb 100644 --- a/pkgs/applications/virtualization/catatonit/default.nix +++ b/pkgs/applications/virtualization/catatonit/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, glibc }: +{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, glibc, nixosTests }: stdenv.mkDerivation rec { pname = "catatonit"; @@ -27,11 +27,13 @@ stdenv.mkDerivation rec { readelf -d $out/bin/catatonit | grep 'There is no dynamic section in this file.' ''; + passthru.tests = { inherit (nixosTests) podman; }; + meta = with lib; { description = "A container init that is so simple it's effectively brain-dead"; homepage = "https://github.com/openSUSE/catatonit"; license = licenses.gpl3Plus; - maintainers = with maintainers; [ erosennin ]; + maintainers = with maintainers; [ erosennin ] ++ teams.podman.members; platforms = platforms.linux; }; }