about summary refs log tree commit diff
path: root/pkgs/development/python-modules/elastic-apm/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/elastic-apm/default.nix')
-rw-r--r--pkgs/development/python-modules/elastic-apm/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/elastic-apm/default.nix b/pkgs/development/python-modules/elastic-apm/default.nix
index 6fb1abd35fdb..fb27b98608dd 100644
--- a/pkgs/development/python-modules/elastic-apm/default.nix
+++ b/pkgs/development/python-modules/elastic-apm/default.nix
@@ -85,7 +85,7 @@ buildPythonPackage rec {
       # Exclude tornado tests
       "tests/contrib/asyncio/tornado/tornado_tests.py"
     ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       # Flaky tests on Darwin
       "tests/utils/threading_tests.py"
     ];