diff --git a/pkgs/by-name/di/distribution/package.nix b/pkgs/by-name/di/distribution/package.nix index 64c04ebaefdb..9ade1080e3e2 100644 --- a/pkgs/by-name/di/distribution/package.nix +++ b/pkgs/by-name/di/distribution/package.nix @@ -2,6 +2,8 @@ , buildGoModule , fetchFromGitHub , fetchpatch +, testers +, distribution }: buildGoModule rec { @@ -38,6 +40,13 @@ buildGoModule rec { "-skip=^TestHTTPChecker$|^TestInMemoryDriverSuite$" ]; + passthru = { + tests.version = testers.testVersion { + package = distribution; + version = "v${version}"; + }; + }; + meta = with lib; { description = "Toolkit to pack, ship, store, and deliver container content"; longDescription = ''