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:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user