From 89404805420bcdd9805a99c9e5ee275a025ab6b9 Mon Sep 17 00:00:00 2001 From: Malo Bourgon Date: Fri, 16 Sep 2022 12:34:43 -0700 Subject: [PATCH] python3Packages.pycurl: Fix build on `aarch64-darwin` --- pkgs/development/python-modules/pycurl/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/pycurl/default.nix b/pkgs/development/python-modules/pycurl/default.nix index 4b0e215f22c1..ab8a5a7e01dc 100644 --- a/pkgs/development/python-modules/pycurl/default.nix +++ b/pkgs/development/python-modules/pycurl/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildPythonPackage , isPyPy , fetchPypi @@ -72,6 +73,9 @@ buildPythonPackage rec { "test_libcurl_ssl_gnutls" # AssertionError: assert 'crypto' in ['curl'] "test_ssl_in_static_libs" + ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ + # Fatal Python error: Segmentation fault + "cadata_test" ]; meta = with lib; {