about summary refs log tree commit diff
path: root/pkgs/development/python-modules/behave/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/behave/default.nix')
-rw-r--r--pkgs/development/python-modules/behave/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/behave/default.nix b/pkgs/development/python-modules/behave/default.nix
index e7a9de7f1bc0..30f6c81c851d 100644
--- a/pkgs/development/python-modules/behave/default.nix
+++ b/pkgs/development/python-modules/behave/default.nix
@@ -60,7 +60,9 @@ buildPythonPackage rec {
 
   # timing-based test flaky on Darwin
   # https://github.com/NixOS/nixpkgs/pull/97737#issuecomment-691489824
-  disabledTests = lib.optionals stdenv.isDarwin [ "test_step_decorator_async_run_until_complete" ];
+  disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
+    "test_step_decorator_async_run_until_complete"
+  ];
 
   postCheck = ''
     ${python.interpreter} bin/behave -f progress3 --stop --tags='~@xfail' features/