From b7054292f7764d5767e44ccc5368ea898a889f93 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Tue, 5 Apr 2022 16:16:39 +1000 Subject: [PATCH] skopeo: add testNixFromDockerHub to passthru.tests --- pkgs/development/tools/skopeo/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/tools/skopeo/default.nix b/pkgs/development/tools/skopeo/default.nix index 6618c024851..c25a27e6d95 100644 --- a/pkgs/development/tools/skopeo/default.nix +++ b/pkgs/development/tools/skopeo/default.nix @@ -10,6 +10,7 @@ , installShellFiles , makeWrapper , fuse-overlayfs +, dockerTools }: buildGoModule rec { @@ -53,6 +54,10 @@ buildGoModule rec { runHook postInstall ''; + passthru.tests = { + inherit (dockerTools.examples) testNixFromDockerHub; + }; + meta = with lib; { description = "A command line utility for various operations on container images and image repositories"; homepage = "https://github.com/containers/skopeo";