mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 05:19:00 +02:00
Merge pull request #167890 from 7c6f434c/pypy2Packages-nose-fix
pypy2Packages.nose: fix build by not trying to use 2to3
This commit is contained in:
commit
fab78f560e
|
@ -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