Skip to content

Commit

Permalink
python312Packages.cffi: remove unnecessary Darwin patch
Browse files Browse the repository at this point in the history
This is no longer required now that we use Apple’s `libffi`.
  • Loading branch information
emilazy committed Jan 5, 2025
1 parent 6572dba commit b724416
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions pkgs/development/python-modules/cffi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down

0 comments on commit b724416

Please sign in to comment.