about summary refs log tree commit diff
path: root/pkgs/development/python-modules/elastic-apm
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-04-30 16:23:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2023-04-30 16:23:00 +0000
commit6e1d2a55c6cd962ecf1b09e4abbeef2e24e09ffc (patch)
tree4cea028bbab065b5da6ab5ea9fa4957a91b2fcda /pkgs/development/python-modules/elastic-apm
parent25ae3a3a8d1988be4339096035f44a9be4c31019 (diff)
python310Packages.elastic-apm: fix build on darwin
Diffstat (limited to 'pkgs/development/python-modules/elastic-apm')
-rw-r--r--pkgs/development/python-modules/elastic-apm/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/elastic-apm/default.nix b/pkgs/development/python-modules/elastic-apm/default.nix
index 37d45cb28562d..ba789037f03c8 100644
--- a/pkgs/development/python-modules/elastic-apm/default.nix
+++ b/pkgs/development/python-modules/elastic-apm/default.nix
@@ -1,4 +1,5 @@
 { lib
+, stdenv
 , aiohttp
 , blinker
 , buildPythonPackage
@@ -77,6 +78,9 @@ buildPythonPackage rec {
   disabledTestPaths = [
     # Exclude tornado tests
     "tests/contrib/asyncio/tornado/tornado_tests.py"
+  ] ++ lib.optionals stdenv.isDarwin [
+    # Flaky tests on Darwin
+    "tests/utils/threading_tests.py"
   ];
 
   pythonImportsCheck = [