From 3ca45e2bbb1dfcece5222c5cb7a7642542ec49cb Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Sat, 9 Dec 2023 22:57:51 +0100 Subject: [PATCH] upx: add version test --- pkgs/tools/compression/upx/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/compression/upx/default.nix b/pkgs/tools/compression/upx/default.nix index 4ef5a90e219f..6c22984b3641 100644 --- a/pkgs/tools/compression/upx/default.nix +++ b/pkgs/tools/compression/upx/default.nix @@ -3,6 +3,7 @@ , fetchFromGitHub , cmake , nix-update-script +, testers }: stdenv.mkDerivation (finalAttrs: { @@ -20,6 +21,7 @@ stdenv.mkDerivation (finalAttrs: { passthru = { updateScript = nix-update-script { }; + tests.version = testers.testVersion { package = finalAttrs.finalPackage; }; }; meta = with lib; {