about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cython/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/cython/default.nix')
-rw-r--r--pkgs/development/python-modules/cython/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/cython/default.nix b/pkgs/development/python-modules/cython/default.nix
index 2d3333ecec6a3..63e2821cde39b 100644
--- a/pkgs/development/python-modules/cython/default.nix
+++ b/pkgs/development/python-modules/cython/default.nix
@@ -26,8 +26,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"
     ];
@@ -70,7 +70,7 @@ buildPythonPackage rec {
   # https://github.com/cython/cython/issues/2785
   # Temporary solution
   doCheck = false;
-  # doCheck = !stdenv.isDarwin;
+  # doCheck = !stdenv.hostPlatform.isDarwin;
 
   passthru.tests = {
     inherit sage;