aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/applications/virtualization/cri-o
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/virtualization/cri-o')
-rw-r--r--nixpkgs/pkgs/applications/virtualization/cri-o/default.nix10
-rw-r--r--nixpkgs/pkgs/applications/virtualization/cri-o/wrapper.nix2
2 files changed, 9 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/applications/virtualization/cri-o/default.nix b/nixpkgs/pkgs/applications/virtualization/cri-o/default.nix
index 95f8580cb39..d0c8938e6de 100644
--- a/nixpkgs/pkgs/applications/virtualization/cri-o/default.nix
+++ b/nixpkgs/pkgs/applications/virtualization/cri-o/default.nix
@@ -10,19 +10,23 @@
, libselinux
, lvm2
, pkg-config
+, nixosTests
}:
buildGoModule rec {
pname = "cri-o";
- version = "1.18.1";
+ version = "1.18.3";
src = fetchFromGitHub {
owner = "cri-o";
repo = "cri-o";
rev = "v${version}";
- sha256 = "1fd7ix329kqimysqfh8yl29c0hwrddlirq9bnz95mrllhsgn8kw2";
+ sha256 = "1csdbyypqwxkfc061pdv7nj52a52b9xxzb6qgxcznd82w7wgfb3g";
};
vendorSha256 = null;
+
+ doCheck = false;
+
outputs = [ "out" "man" ];
nativeBuildInputs = [ installShellFiles pkg-config ];
@@ -54,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 = ''
diff --git a/nixpkgs/pkgs/applications/virtualization/cri-o/wrapper.nix b/nixpkgs/pkgs/applications/virtualization/cri-o/wrapper.nix
index 1578eaf4f58..298bec6550e 100644
--- a/nixpkgs/pkgs/applications/virtualization/cri-o/wrapper.nix
+++ b/nixpkgs/pkgs/applications/virtualization/cri-o/wrapper.nix
@@ -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" ];