From 9b516e4288f09374e1426e4ec0a606169db1d52b Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 31 Jan 2024 04:07:48 +0100 Subject: [PATCH] cpython: build with our own libmpdecimal --- pkgs/development/interpreters/python/cpython/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix index ed507e3baf9c..aa7f25ead9cd 100644 --- a/pkgs/development/interpreters/python/cpython/default.nix +++ b/pkgs/development/interpreters/python/cpython/default.nix @@ -16,6 +16,7 @@ , expat , libffi , libxcrypt +, mpdecimal , ncurses , openssl , sqlite @@ -165,6 +166,7 @@ let expat libffi libxcrypt + mpdecimal ncurses openssl sqlite @@ -384,6 +386,7 @@ in with passthru; stdenv.mkDerivation (finalAttrs: { configureFlags = [ "--without-ensurepip" "--with-system-expat" + "--with-system-libmpdec" ] ++ optionals (openssl != null) [ "--with-openssl=${openssl.dev}" ] ++ optionals tzdataSupport [