cpython: restore passthru.tests

Fixes a regression from #261323, where all `passthru.tests` were
overwritten.
This commit is contained in:
Martin Weinelt 2023-11-28 02:05:28 +01:00
parent c76b72caa4
commit f69da37098
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -584,7 +584,9 @@ in with passthru; stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = with pkgsBuildBuild.python3.pkgs; [ sphinxHook python-docs-theme ];
};
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
tests = passthru.tests // {
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
};
};
enableParallelBuilding = true;