From 4c3d8b603e8b421be89b82189bb76b3648f97003 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Wed, 14 Jan 2026 19:41:50 -0500 Subject: [PATCH] python3Packages.setproctitle: disable crashing tests on Darwin --- pkgs/development/python-modules/setproctitle/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/setproctitle/default.nix b/pkgs/development/python-modules/setproctitle/default.nix index aa1211029abb..46daff35a257 100644 --- a/pkgs/development/python-modules/setproctitle/default.nix +++ b/pkgs/development/python-modules/setproctitle/default.nix @@ -27,8 +27,13 @@ buildPythonPackage rec { procps ]; - # Setting the process title fails on macOS in the Nix builder environment (regardless of sandboxing) - disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ "test_setproctitle_darwin" ]; + disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ + # Setting the process title fails on macOS in the Nix builder environment (regardless of sandboxing) + "test_setproctitle_darwin" + # *** multi-threaded process forked ***; crashed on child side of fork pre-exec. fork without exec is unsafe. + "test_fork_segfault" + "test_thread_fork_segfault" + ]; pythonImportsCheck = [ "setproctitle" ];