python2.pkgs.pexpect: don't recompile bytecode
This commit is contained in:
parent
80f321e834
commit
7e5769c70c
|
@ -2,9 +2,10 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, ptyprocess
|
, ptyprocess
|
||||||
|
, isPy3k
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage (rec {
|
||||||
pname = "pexpect";
|
pname = "pexpect";
|
||||||
version = "4.8.0";
|
version = "4.8.0";
|
||||||
|
|
||||||
|
@ -40,4 +41,8 @@ buildPythonPackage rec {
|
||||||
any platform that supports the standard Python pty module.
|
any platform that supports the standard Python pty module.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
# TODO: move into main set, this was to avoid a rebuild
|
||||||
|
} // lib.optionalAttrs (!isPy3k ) {
|
||||||
|
# syntax error in _async module, likely intended only for Python 3.
|
||||||
|
dontUsePythonRecompileBytecode = !isPy3k;
|
||||||
|
})
|
||||||
|
|
Loading…
Reference in New Issue