From afd722eb9e93b274147125233d2634f5470a196e Mon Sep 17 00:00:00 2001 From: Elliot Cameron Date: Mon, 29 Jun 2026 18:14:28 -0400 Subject: [PATCH] python3Packages.distutils: use standard zlib Use standard zlib instead instead of sortix libz. Python itself depends on zlib so this dependency added a *different* version of the "z" library to the closures of all Python packages dependeng on distutils. --- pkgs/development/python-modules/distutils/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/distutils/default.nix b/pkgs/development/python-modules/distutils/default.nix index 292cf61b2fb9..1ab15b79418e 100644 --- a/pkgs/development/python-modules/distutils/default.nix +++ b/pkgs/development/python-modules/distutils/default.nix @@ -12,12 +12,12 @@ jaraco-envs, jaraco-path, jaraco-text, - libz, more-itertools, packaging, path, pyfakefs, pytestCheckHook, + zlib, stdenv, }: @@ -66,7 +66,7 @@ buildPythonPackage { checkInputs = [ # https://github.com/pypa/distutils/blob/5ad8291ff2ad3e43583bc72a4c09299ca6134f09/distutils/tests/test_build_ext.py#L107 - libz + zlib ]; # jaraco-path depends ob pyobjc