Skip to content

Commit

Permalink
cntr: add passthru.tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sorki committed Apr 7, 2021
1 parent b1672ee commit c520a26
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/applications/virtualization/cntr/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchFromGitHub }:
{ lib, rustPlatform, fetchFromGitHub, nixosTests }:

rustPlatform.buildRustPackage rec {
pname = "cntr";
Expand All @@ -13,6 +13,10 @@ rustPlatform.buildRustPackage rec {

cargoSha256 = "sha256-o8o/ixjYdnezQZEp78brjmR2lvQbiwCJr4Y97tHiYbk=";

passthru.tests = {
nixos = nixosTests.cntr;
};

meta = with lib; {
description = "A container debugging tool based on FUSE";
homepage = "https://github.com/Mic92/cntr";
Expand Down

0 comments on commit c520a26

Please sign in to comment.