mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 16:11:58 +00:00
cri-o: add passthru.tests
This commit is contained in:
parent
774cc9c44a
commit
8dde002724
|
@ -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 = ''
|
||||
|
|
|
@ -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" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue