From df1f9ecd9b83a1a3cb440d771f644f1a88416bc1 Mon Sep 17 00:00:00 2001 From: Kai Wohlfahrt Date: Wed, 25 May 2022 17:14:26 +0100 Subject: [PATCH] python3Packages.aiohttp: remove trustme test dependency on aarch64-darwin This is an optional test dependency dependency is no longer needed, and makes the package unbuildable on aarch64-darwin, as it transitively depends on pyopenssl, which is marked broken. --- pkgs/development/python-modules/aiohttp/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/aiohttp/default.nix b/pkgs/development/python-modules/aiohttp/default.nix index 660e205fb482..bca1f6002f4e 100644 --- a/pkgs/development/python-modules/aiohttp/default.nix +++ b/pkgs/development/python-modules/aiohttp/default.nix @@ -67,6 +67,9 @@ buildPythonPackage rec { pytest-mock pytestCheckHook re-assert + ] ++ lib.optionals (!(stdenv.isDarwin && stdenv.isAarch64)) [ + # Optional test dependency. Depends indirectly on pyopenssl, which is + # broken on aarch64-darwin. trustme ];