diff options
author | Rhys <rimmington@gmail.com> | 2017-05-10 11:06:11 +1000 |
---|---|---|
committer | Rhys <rimmington@gmail.com> | 2017-05-22 11:04:49 +1000 |
commit | c46c3fa5aabd256167059a6f4cf04127dd9506b4 (patch) | |
tree | afe374a50a3c7d24440603a5f4a31d5a698600aa /pkgs | |
parent | abe0da425bb887df59c6b29aacf1a664b7cd646c (diff) | |
download | nixlib-c46c3fa5aabd256167059a6f4cf04127dd9506b4.tar nixlib-c46c3fa5aabd256167059a6f4cf04127dd9506b4.tar.gz nixlib-c46c3fa5aabd256167059a6f4cf04127dd9506b4.tar.bz2 nixlib-c46c3fa5aabd256167059a6f4cf04127dd9506b4.tar.lz nixlib-c46c3fa5aabd256167059a6f4cf04127dd9506b4.tar.xz nixlib-c46c3fa5aabd256167059a6f4cf04127dd9506b4.tar.zst nixlib-c46c3fa5aabd256167059a6f4cf04127dd9506b4.zip |
cython: build on 32-bit ARM
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/top-level/python-packages.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c0b63fb4b412..f210537618ed 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4253,11 +4253,11 @@ in { sha256 = "01h3lrf6d98j07iakifi81qjszh6faa37ibx7ylva1vsqbwx2hgi"; }; - # On i686-linux and Python 2.x this test fails because the result is "3L" - # instead of "3", so let's fix it in-place. + # With Python 2.x on i686-linux or 32-bit ARM this test fails because the + # result is "3L" instead of "3", so let's fix it in-place. # # Upstream issue: https://github.com/cython/cython/issues/1548 - postPatch = optionalString (stdenv.isi686 && !isPy3k) '' + postPatch = optionalString ((stdenv.isi686 || stdenv.isArm) && !isPy3k) '' sed -i -e 's/\(>>> *\)\(verify_resolution_GH1533()\)/\1int(\2)/' \ tests/run/cpdef_enums.pyx ''; |