about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pandas-stubs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pandas-stubs/default.nix')
-rw-r--r--pkgs/development/python-modules/pandas-stubs/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pandas-stubs/default.nix b/pkgs/development/python-modules/pandas-stubs/default.nix
index 62cefd16c3cd..f216673fc7f0 100644
--- a/pkgs/development/python-modules/pandas-stubs/default.nix
+++ b/pkgs/development/python-modules/pandas-stubs/default.nix
@@ -89,10 +89,10 @@ buildPythonPackage rec {
       "test_timedelta_cmp"
       "test_timestamp_cmp"
     ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       "test_clipboard" # FileNotFoundError: [Errno 2] No such file or directory: 'pbcopy'
     ]
-    ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
+    ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [
       # Disable tests for types that are not supported on aarch64 in `numpy` < 2.0
       "test_astype_float" # `f16` and `float128`
       "test_astype_complex" # `c32` and `complex256`