python3Packages.nose: fix cross-compiling

This commit is contained in:
Yorick van Pelt 2022-07-19 17:16:46 +02:00
parent 556884e365
commit 27ff1af1cb
No known key found for this signature in database
GPG Key ID: A36E70F9DC014A15

View File

@ -26,7 +26,7 @@ buildPythonPackage rec {
preBuild = lib.optionalString
((python.isPy3k or false) && (python.pname != "pypy3"))
''
2to3 -wn nose functional_tests unit_tests
${python.pythonForBuild}/bin/2to3 -wn nose functional_tests unit_tests
'';
propagatedBuildInputs = [ coverage ];