cri-o: add passthru.tests
This commit is contained in:
parent
774cc9c44a
commit
8dde002724
@ -10,6 +10,7 @@
|
|||||||
, libselinux
|
, libselinux
|
||||||
, lvm2
|
, lvm2
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
, nixosTests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
@ -57,6 +58,8 @@ buildGoModule rec {
|
|||||||
installManPage docs/*.[1-9]
|
installManPage docs/*.[1-9]
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests = { inherit (nixosTests) cri-o; };
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://cri-o.io";
|
homepage = "https://cri-o.io";
|
||||||
description = ''
|
description = ''
|
||||||
|
@ -27,7 +27,7 @@ let
|
|||||||
|
|
||||||
in runCommand cri-o.name {
|
in runCommand cri-o.name {
|
||||||
name = "${cri-o.pname}-wrapper-${cri-o.version}";
|
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" ];
|
meta = builtins.removeAttrs cri-o.meta [ "outputsToInstall" ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user