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 10:42:18 +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