diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2022-04-05 16:16:39 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2022-04-05 18:11:32 +1000 |
commit | b7054292f7764d5767e44ccc5368ea898a889f93 (patch) | |
tree | 747a8c0f35d58c80c608a10d80fa7efd28127fbf /pkgs/development/tools/skopeo | |
parent | 7dabcdbcf4765531a0fd4009c6e7586818f0342e (diff) |
skopeo: add testNixFromDockerHub to passthru.tests
Diffstat (limited to 'pkgs/development/tools/skopeo')
-rw-r--r-- | pkgs/development/tools/skopeo/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/tools/skopeo/default.nix b/pkgs/development/tools/skopeo/default.nix index 6618c0248514e..c25a27e6d957b 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"; |