diff options
Diffstat (limited to 'pkgs/development/python-modules/mypy/default.nix')
-rw-r--r-- | pkgs/development/python-modules/mypy/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/mypy/default.nix b/pkgs/development/python-modules/mypy/default.nix index 85ceaf304c2..1b8d763eb6f 100644 --- a/pkgs/development/python-modules/mypy/default.nix +++ b/pkgs/development/python-modules/mypy/default.nix @@ -53,7 +53,8 @@ buildPythonPackage rec { # Compile mypy with mypyc, which makes mypy about 4 times faster. The compiled # version is also the default in the wheels on Pypi that include binaries. - MYPY_USE_MYPYC = "1"; + # is64bit: unfortunately the build would exhaust all possible memory on i686-linux. + MYPY_USE_MYPYC = stdenv.buildPlatform.is64bit; meta = with stdenv.lib; { description = "Optional static typing for Python"; |