cri-o: add passthru.tests

This commit is contained in:
zowoq 2020-08-24 08:42:49 +10:00
parent 774cc9c44a
commit 8dde002724
2 changed files with 4 additions and 1 deletions

View File

@ -10,6 +10,7 @@
, libselinux
, lvm2
, pkg-config
, nixosTests
}:
buildGoModule rec {
@ -57,6 +58,8 @@ buildGoModule rec {
installManPage docs/*.[1-9]
'';
passthru.tests = { inherit (nixosTests) cri-o; };
meta = with stdenv.lib; {
homepage = "https://cri-o.io";
description = ''

View File

@ -27,7 +27,7 @@ let
in runCommand cri-o.name {
name = "${cri-o.pname}-wrapper-${cri-o.version}";
inherit (cri-o) pname version;
inherit (cri-o) pname version passthru;
meta = builtins.removeAttrs cri-o.meta [ "outputsToInstall" ];