From b7244164fc179ed6a307b57965c538cb686d88df Mon Sep 17 00:00:00 2001 From: Emily Date: Sun, 5 Jan 2025 22:06:03 +0000 Subject: [PATCH] python312Packages.cffi: remove unnecessary Darwin patch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is no longer required now that we use Appleā€™s `libffi`. --- pkgs/development/python-modules/cffi/default.nix | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/pkgs/development/python-modules/cffi/default.nix b/pkgs/development/python-modules/cffi/default.nix index 6597dd4749d081..7ce279008bdb1c 100644 --- a/pkgs/development/python-modules/cffi/default.nix +++ b/pkgs/development/python-modules/cffi/default.nix @@ -24,20 +24,6 @@ else hash = "sha256-HDnGAWwyvEjdVFYZUOvWg24WcPKuRhKPZ89J54nFKCQ="; }; - patches = [ - # - # Trusts the libffi library inside of nixpkgs on Apple devices. - # - # Based on some analysis I did: - # - # https://groups.google.com/g/python-cffi/c/xU0Usa8dvhk - # - # I believe that libffi already contains the code from Apple's fork that is - # deemed safe to trust in cffi. - # - ./darwin-use-libffi-closures.diff - ]; - nativeBuildInputs = [ pkg-config ]; build-system = [ setuptools ];