python3Minimal: remove dependency on libffi

This makes python3Minimal mor minimal

When working on https://github.com/NixOS/nixpkgs/pull/405822 I assumed that libffi was a mandatory dependency of python, but it's not.
This commit is contained in:
DavHau
2025-06-11 11:44:17 +07:00
parent 14cfbfa30a
commit 516e32cd7c
2 changed files with 1 additions and 6 deletions
@@ -4,7 +4,6 @@
config,
db,
lib,
libffiBoot,
makeScopeWithSplicing',
pythonPackagesExtensions,
stdenv,
@@ -117,7 +116,7 @@
libxcrypt = null;
xz = null;
zlib = null;
libffi = libffiBoot; # without test suite
libffi = null;
stripConfig = true;
stripIdlelib = true;
stripTests = true;
@@ -136,7 +135,6 @@
*/
allowedReferenceNames = [
"bashNonInteractive"
"libffi"
];
}
// sources.python313
-3
View File
@@ -8709,9 +8709,6 @@ with pkgs;
libffiReal = callPackage ../development/libraries/libffi { };
libffi = if stdenv.hostPlatform.isDarwin then darwin.libffi else libffiReal;
libffi_3_3 = callPackage ../development/libraries/libffi/3.3.nix { };
libffiBoot = libffi.override {
doCheck = false;
};
# https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=blob;f=README;h=fd6e1a83f55696c1f7a08f6dfca08b2d6b7617ec;hb=70058cd9f944d620764e57c838209afae8a58c78#l118
libgpg-error-gen-posix-lock-obj = libgpg-error.override {