subunit: use python3

This commit is contained in:
Frederik Rietdijk 2021-07-27 16:36:51 +02:00
parent f9697608d7
commit 4e8d1a8936

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, pkg-config, check, cppunit, perl, pythonPackages }:
{ lib, stdenv, fetchurl, pkg-config, check, cppunit, perl, python3Packages }:
# NOTE: for subunit python library see pkgs/top-level/python-packages.nix
@ -12,9 +12,9 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ check cppunit perl pythonPackages.wrapPython ];
buildInputs = [ check cppunit perl python3Packages.wrapPython ];
propagatedBuildInputs = with pythonPackages; [ testtools testscenarios ];
propagatedBuildInputs = with python3Packages; [ testtools testscenarios ];
postFixup = "wrapPythonPrograms";