diff --git a/pkgs/development/python-modules/zconfig/default.nix b/pkgs/development/python-modules/zconfig/default.nix index 4596116fea91..1528e81361f2 100644 --- a/pkgs/development/python-modules/zconfig/default.nix +++ b/pkgs/development/python-modules/zconfig/default.nix @@ -23,6 +23,10 @@ buildPythonPackage rec { patches = lib.optional stdenv.hostPlatform.isMusl ./remove-setlocale-test.patch; + postPatch = '' + substituteInPlace pyproject.toml --replace-fail 'setuptools <= 75.6.0' 'setuptools' + ''; + build-system = [ setuptools ]; buildInputs = [