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.
This commit is contained in:
Robert Hensing
2023-01-29 09:51:55 +01:00
parent 159ad20b89
commit 90fdbf5f39
@@ -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";