about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorAndrew Dunham <andrew@du.nham.ca>2022-07-05 14:23:36 +0100
committerAndrew Dunham <andrew@du.nham.ca>2022-07-07 16:29:31 +0100
commitddcb3f9ff4fb7e0419cc665c27b351759a0300ac (patch)
treebfc6916708da9a6d7d29f1f8ebba09806a452b23 /pkgs/development
parent312ad6d25c2d55d52aae84445173f746ce8b8541 (diff)
twisted: remove pyOpenSSL dependency on aarch64-darwin
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/twisted/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/twisted/default.nix b/pkgs/development/python-modules/twisted/default.nix
index 59011ef1d640d..ceaadd74ee6e6 100644
--- a/pkgs/development/python-modules/twisted/default.nix
+++ b/pkgs/development/python-modules/twisted/default.nix
@@ -119,7 +119,8 @@ buildPythonPackage rec {
     pyhamcrest
   ]
   ++ passthru.optional-dependencies.conch
-  ++ passthru.optional-dependencies.tls;
+  # not supported on aarch64-darwin: https://github.com/pyca/pyopenssl/issues/873
+  ++ lib.optionals (!(stdenv.isDarwin && stdenv.isAarch64)) passthru.optional-dependencies.tls;
 
   checkPhase = ''
     export SOURCE_DATE_EPOCH=315532800