From f69da3709818d1397bed93a340cfb42d550e25ad Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 28 Nov 2023 02:05:28 +0100 Subject: [PATCH] cpython: restore passthru.tests Fixes a regression from #261323, where all `passthru.tests` were overwritten. --- pkgs/development/interpreters/python/cpython/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix index 8bc5c6c586d8..8e13ed51bc74 100644 --- a/pkgs/development/interpreters/python/cpython/default.nix +++ b/pkgs/development/interpreters/python/cpython/default.nix @@ -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;