Merge pull request #167890 from 7c6f434c/pypy2Packages-nose-fix

pypy2Packages.nose: fix build by not trying to use 2to3
This commit is contained in:
7c6f434c
2022-04-11 20:04:03 +00:00
committed by GitHub
@@ -23,7 +23,9 @@ buildPythonPackage rec {
--replace "from setuptools.command.build_py import Mixin2to3" "from distutils.util import Mixin2to3"
'';
preBuild = ''
preBuild = lib.optionalString
((python.isPy3k or false) && (python.pname != "pypy3"))
''
2to3 -wn nose functional_tests unit_tests
'';