python312: use vendored mpdecimal library on darwin
Building with --with-system-mpdecimal fails on both darwin architectures, independent of the mpdecimal version used.
This commit is contained in:
parent
5f4d3d57a7
commit
76f6ad253d
@ -386,6 +386,9 @@ in with passthru; stdenv.mkDerivation (finalAttrs: {
|
||||
configureFlags = [
|
||||
"--without-ensurepip"
|
||||
"--with-system-expat"
|
||||
] ++ optionals (!(stdenv.isDarwin && pythonAtLeast "3.12")) [
|
||||
# ./Modules/_decimal/_decimal.c:4673:6: error: "No valid combination of CONFIG_64, CONFIG_32 and _PyHASH_BITS"
|
||||
# https://hydra.nixos.org/build/248410479/nixlog/2/tail
|
||||
"--with-system-libmpdec"
|
||||
] ++ optionals (openssl != null) [
|
||||
"--with-openssl=${openssl.dev}"
|
||||
|
Loading…
Reference in New Issue
Block a user