mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 09:03:42 +00:00
python3Minimal: ensure _scproxy is disabled on Darwin
Python 3.12 attempts to build with the _scproxy enabled even when building python3Minimal. Override the configure check to make sure it is disabled. Otherwise, the Darwin stdenv bootstrap will fail.
This commit is contained in:
parent
1dacb521f9
commit
da8f4fd6cb
@ -417,6 +417,9 @@ in with passthru; stdenv.mkDerivation (finalAttrs: {
|
||||
(enableFeature enableGIL "gil")
|
||||
] ++ optionals enableOptimizations [
|
||||
"--enable-optimizations"
|
||||
] ++ optionals (stdenv.isDarwin && configd == null) [
|
||||
# Make conditional on Darwin for now to avoid causing Linux rebuilds.
|
||||
"py_cv_module__scproxy=n/a"
|
||||
] ++ optionals (sqlite != null) [
|
||||
"--enable-loadable-sqlite-extensions"
|
||||
] ++ optionals (libxcrypt != null) [
|
||||
|
Loading…
Reference in New Issue
Block a user