about summary refs log tree commit diff
path: root/pkgs/development/python-modules/awkward/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/awkward/default.nix')
-rw-r--r--pkgs/development/python-modules/awkward/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/awkward/default.nix b/pkgs/development/python-modules/awkward/default.nix
index ffadf4d180ca..aefec7c8f326 100644
--- a/pkgs/development/python-modules/awkward/default.nix
+++ b/pkgs/development/python-modules/awkward/default.nix
@@ -72,7 +72,7 @@ buildPythonPackage rec {
       pytest-xdist
       pytestCheckHook
     ]
-    ++ lib.optionals (!stdenv.isDarwin) [
+    ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
       # no support for darwin
       jax
       jaxlib
@@ -82,7 +82,7 @@ buildPythonPackage rec {
   disabledTestPaths = [
     "tests-cuda"
     # Disable tests dependending on jax on darwin
-  ] ++ lib.optionals stdenv.isDarwin [ "tests/test_2603_custom_behaviors_with_jax.py" ];
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "tests/test_2603_custom_behaviors_with_jax.py" ];
 
   disabledTests = [
     # AssertionError: Regex pattern did not match.