buildPythonPackage: don't recompile bytecode
There are too many regressions. Instead of reverting all the work that has been done on this so far, let's just disable it Python-wide. That way we can investigate and fix it easier.
This commit is contained in:
parent
bbd12947de
commit
b7aec77a7b
@ -165,10 +165,8 @@ let
|
|||||||
# Python packages built through cross-compilation are always for the host platform.
|
# Python packages built through cross-compilation are always for the host platform.
|
||||||
disallowedReferences = lib.optionals (python.stdenv.hostPlatform != python.stdenv.buildPlatform) [ python.pythonForBuild ];
|
disallowedReferences = lib.optionals (python.stdenv.hostPlatform != python.stdenv.buildPlatform) [ python.pythonForBuild ];
|
||||||
|
|
||||||
# many packages that support python2, may include code
|
# For now, revert recompilation of bytecode.
|
||||||
# which python2 is not able to compile
|
dontUsePythonRecompileBytecode = true;
|
||||||
# mkDerivation hash will not change when passed null attrs
|
|
||||||
dontUsePythonRecompileBytecode = attrs.dontUsePythonRecompileBytecode or (if python.isPy27 then true else null);
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
# default to python's platforms
|
# default to python's platforms
|
||||||
|
Loading…
x
Reference in New Issue
Block a user