Skip to content

Commit 8dde002

Browse files
committed
cri-o: add passthru.tests
1 parent 774cc9c commit 8dde002

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

pkgs/applications/virtualization/cri-o/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
, libselinux
1111
, lvm2
1212
, pkg-config
13+
, nixosTests
1314
}:
1415

1516
buildGoModule rec {
@@ -57,6 +58,8 @@ buildGoModule rec {
5758
installManPage docs/*.[1-9]
5859
'';
5960

61+
passthru.tests = { inherit (nixosTests) cri-o; };
62+
6063
meta = with stdenv.lib; {
6164
homepage = "https://cri-o.io";
6265
description = ''

pkgs/applications/virtualization/cri-o/wrapper.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ let
2727

2828
in runCommand cri-o.name {
2929
name = "${cri-o.pname}-wrapper-${cri-o.version}";
30-
inherit (cri-o) pname version;
30+
inherit (cri-o) pname version passthru;
3131

3232
meta = builtins.removeAttrs cri-o.meta [ "outputsToInstall" ];
3333

0 commit comments

Comments
 (0)