From 90fdbf5f394f3bb7d49992702157df7d93056055 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Wed, 25 Jan 2023 17:07:12 +0100 Subject: [PATCH] Revert "zlib: Add tests.pkg-configPackages" `passthru.tests` is an interesting addition, but it is too manual of a solution, and is unlikely to be as useful as it needs to be to cover its cost of adding this to a ton of packages. This reverts commit c25dd2f01e93d79237c56b61f51c034616be0a11. --- pkgs/development/libraries/zlib/default.nix | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pkgs/development/libraries/zlib/default.nix b/pkgs/development/libraries/zlib/default.nix index 0aa37c86b795..52654b6541e3 100644 --- a/pkgs/development/libraries/zlib/default.nix +++ b/pkgs/development/libraries/zlib/default.nix @@ -8,7 +8,6 @@ # the `.pc` file lists only the main output's lib dir. # If false, and if `{ static = true; }`, the .a stays in the main output. , splitStaticOutput ? shared && static -, tests }: # Without either the build will actually still succeed because the build @@ -126,14 +125,6 @@ stdenv.mkDerivation rec { "SHARED_MODE=1" ]; - passthru = { - tests = { - # NB: this may test a different variant of zlib than the package that - # carries this `tests` attribute, due to overriding. - pkg-configPackages = tests.pkg-configPackages.zlib; - }; - }; - meta = with lib; { homepage = "https://zlib.net"; description = "Lossless data-compression library";