From baf449ff8e5382eeb324d9c04a09992858ddb548 Mon Sep 17 00:00:00 2001 From: Hythera <87016780+Hythera@users.noreply.github.com> Date: Mon, 20 Apr 2026 23:59:40 +0200 Subject: [PATCH] python3Packages.cx-freeze: remove unused inputs, unbreak build on darwin Cx-freeze requires the codesign binary in the tests on darwin (only aarch64). --- pkgs/development/python-modules/cx-freeze/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/cx-freeze/default.nix b/pkgs/development/python-modules/cx-freeze/default.nix index 0f9f1d7fc3b3..1e0f96586424 100644 --- a/pkgs/development/python-modules/cx-freeze/default.nix +++ b/pkgs/development/python-modules/cx-freeze/default.nix @@ -17,10 +17,7 @@ patchelf, dmgbuild, - # tests - anyio, - bcrypt, - + darwin, python, pytest-mock, pytestCheckHook, @@ -82,6 +79,9 @@ buildPythonPackage rec { pytestCheckHook writableTmpDirAsHomeHook versionCheckHook + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + darwin.sigtool ]; versionCheckProgram = "${placeholder "out"}/bin/cxfreeze";