diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-11-28 02:05:28 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-11-28 02:09:29 +0100 |
commit | f69da3709818d1397bed93a340cfb42d550e25ad (patch) | |
tree | 102980ef1950e7e3ed7dec409244d82102079e20 /pkgs/development/interpreters/python | |
parent | c76b72caa421e31d998e4a05387ebd3b40454327 (diff) | |
download | nixlib-f69da3709818d1397bed93a340cfb42d550e25ad.tar nixlib-f69da3709818d1397bed93a340cfb42d550e25ad.tar.gz nixlib-f69da3709818d1397bed93a340cfb42d550e25ad.tar.bz2 nixlib-f69da3709818d1397bed93a340cfb42d550e25ad.tar.lz nixlib-f69da3709818d1397bed93a340cfb42d550e25ad.tar.xz nixlib-f69da3709818d1397bed93a340cfb42d550e25ad.tar.zst nixlib-f69da3709818d1397bed93a340cfb42d550e25ad.zip |
cpython: restore passthru.tests
Fixes a regression from #261323, where all `passthru.tests` were overwritten.
Diffstat (limited to 'pkgs/development/interpreters/python')
-rw-r--r-- | pkgs/development/interpreters/python/cpython/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
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; |