From c7c3187d9897b304c85542130ece7bacc44906a9 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Tue, 1 Feb 2022 20:29:33 -0500 Subject: [PATCH] python3: don't patch out -Wl,-stack_size,1000000 The original motivation behind removing that was to appease a consumer of python-config's output. That issue was probably resolved by now, so let's bring the build in sync with what python is doing by default. This reverts b7819e38 ('python3.x: Patch extra stack size on darwin') --- pkgs/development/interpreters/python/cpython/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix index 48484563e938..268f90f96166 100644 --- a/pkgs/development/interpreters/python/cpython/default.nix +++ b/pkgs/development/interpreters/python/cpython/default.nix @@ -192,7 +192,6 @@ in with passthru; stdenv.mkDerivation { prePatch = optionalString stdenv.isDarwin '' substituteInPlace configure --replace '`/usr/bin/arch`' '"i386"' - substituteInPlace configure --replace '-Wl,-stack_size,1000000' ' ' '' + optionalString (pythonOlder "3.9" && stdenv.isDarwin && x11Support) '' # Broken on >= 3.9; replaced with ./3.9/darwin-tcl-tk.patch substituteInPlace setup.py --replace /Library/Frameworks /no-such-path