From 6e1d2a55c6cd962ecf1b09e4abbeef2e24e09ffc Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sun, 30 Apr 2023 16:23:00 +0000 Subject: [PATCH] python310Packages.elastic-apm: fix build on darwin --- pkgs/development/python-modules/elastic-apm/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/elastic-apm/default.nix b/pkgs/development/python-modules/elastic-apm/default.nix index 37d45cb28562..ba789037f03c 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 = [