summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schütz <nix@dotlambda.de>2022-11-25 10:20:15 -0800
committerRobert Schütz <github@dotlambda.de>2022-11-25 13:03:06 -0800
commitfddc82c76ab58450108a7885be78561b1de6f7f4 (patch)
treea41b0a13d37abd1f4ed08e649c6a615eb13b79ee
parentMerge pull request #202898 from NixOS/backport-202795-to-release-22.11 (diff)
downloadnixpkgs-fddc82c76ab58450108a7885be78561b1de6f7f4.tar.gz
py3c: only run tests on python3
(cherry picked from commit eb35d2924fd7a0bbc1c3648d712ad0a371e35d3a)
-rw-r--r--pkgs/development/libraries/py3c/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/libraries/py3c/default.nix b/pkgs/development/libraries/py3c/default.nix
index c3eb3bfd1a1d..be8a0523d4ff 100644
--- a/pkgs/development/libraries/py3c/default.nix
+++ b/pkgs/development/libraries/py3c/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, python2, python3 }:
+{ lib, stdenv, fetchFromGitHub, python3 }:
stdenv.mkDerivation rec {
pname = "py3c";
@@ -25,10 +25,11 @@ stdenv.mkDerivation rec {
doCheck = true;
checkInputs = [
- python2
python3
];
+ checkTarget = "test-python";
+
meta = with lib; {
homepage = "https://github.com/encukou/py3c";
description = "Python 2/3 compatibility layer for C extensions";