about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pettingzoo/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pettingzoo/default.nix')
-rw-r--r--pkgs/development/python-modules/pettingzoo/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/pettingzoo/default.nix b/pkgs/development/python-modules/pettingzoo/default.nix
index 1e03c7734dde..9bb487e85630 100644
--- a/pkgs/development/python-modules/pettingzoo/default.nix
+++ b/pkgs/development/python-modules/pettingzoo/default.nix
@@ -117,7 +117,7 @@ buildPythonPackage rec {
       # ImportError: cannot import name 'pytest_plugins' from 'pettingzoo.classic'
       "test_chess"
     ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       # Crashes on darwin: `Fatal Python error: Aborted`
       "test_multi_episode_parallel_env_wrapper"
     ];