pypy2Packages.nose, pypy37Packages.nose: fix build by not trying to use 2to3
This commit is contained in:
parent
9e43c553f1
commit
4c1dfa7b27
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue