1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

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;