about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cython/0.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/cython/0.nix')
-rw-r--r--pkgs/development/python-modules/cython/0.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/cython/0.nix b/pkgs/development/python-modules/cython/0.nix
index 8dc7db31fe3f..a484892c0040 100644
--- a/pkgs/development/python-modules/cython/0.nix
+++ b/pkgs/development/python-modules/cython/0.nix
@@ -24,8 +24,8 @@ let
     # Some tests in the test suite isn't working on aarch64. Disable them for
     # now until upstream finds a workaround.
     # Upstream issue here: https://github.com/cython/cython/issues/2308
-    ++ lib.optionals stdenv.isAarch64 [ "numpy_memoryview" ]
-    ++ lib.optionals stdenv.isi686 [
+    ++ lib.optionals stdenv.hostPlatform.isAarch64 [ "numpy_memoryview" ]
+    ++ lib.optionals stdenv.hostPlatform.isi686 [
       "future_division"
       "overflow_check_longlong"
     ];
@@ -87,7 +87,7 @@ buildPythonPackage rec {
   # https://github.com/cython/cython/issues/2785
   # Temporary solution
   doCheck = false;
-  # doCheck = !stdenv.isDarwin;
+  # doCheck = !stdenv.hostPlatform.isDarwin;
 
   # force regeneration of generated code in source distributions
   # https://github.com/cython/cython/issues/5089