summary refs log tree commit diff
path: root/pkgs/development/python-modules/more-itertools
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2018-09-01 15:08:53 +0200
committerVladimír Čunát <vcunat@gmail.com>2018-09-01 15:08:53 +0200
commit355f19653c367a2be81657c4b3839db3106b3562 (patch)
tree1e9f2869d3b01cc18aa89a5f64155f8b11dccee0 /pkgs/development/python-modules/more-itertools
parent4134048b6fb054164008f22cb7616fdbf95aeeb2 (diff)
downloadnixlib-355f19653c367a2be81657c4b3839db3106b3562.tar
nixlib-355f19653c367a2be81657c4b3839db3106b3562.tar.gz
nixlib-355f19653c367a2be81657c4b3839db3106b3562.tar.bz2
nixlib-355f19653c367a2be81657c4b3839db3106b3562.tar.lz
nixlib-355f19653c367a2be81657c4b3839db3106b3562.tar.xz
nixlib-355f19653c367a2be81657c4b3839db3106b3562.tar.zst
nixlib-355f19653c367a2be81657c4b3839db3106b3562.zip
pythonPackages.more-itertools: avoid doCheck on i686
I expect noone will want to spend time really fixing these,
but it blocks wine from building...
Diffstat (limited to 'pkgs/development/python-modules/more-itertools')
-rw-r--r--pkgs/development/python-modules/more-itertools/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/more-itertools/default.nix b/pkgs/development/python-modules/more-itertools/default.nix
index c39bf461bec2..b71319029620 100644
--- a/pkgs/development/python-modules/more-itertools/default.nix
+++ b/pkgs/development/python-modules/more-itertools/default.nix
@@ -3,6 +3,7 @@
 , fetchPypi
 , nose
 , six
+, stdenv
 }:
 
 
@@ -18,9 +19,13 @@ buildPythonPackage rec {
   checkInputs = [ nose ];
   propagatedBuildInputs = [ six ];
 
+  # iterable = range(10 ** 10)  # Is efficiently reversible
+  # OverflowError: Python int too large to convert to C long
+  doCheck = !stdenv.hostPlatform.is32bit;
+
   meta = {
     homepage = https://more-itertools.readthedocs.org;
     description = "Expansion of the itertools module";
     license = lib.licenses.mit;
   };
-}
\ No newline at end of file
+}