diff --git a/pkgs/development/python-modules/jenkins-job-builder/default.nix b/pkgs/development/python-modules/jenkins-job-builder/default.nix index 5e5cf339b74d..c926a8fffeb4 100644 --- a/pkgs/development/python-modules/jenkins-job-builder/default.nix +++ b/pkgs/development/python-modules/jenkins-job-builder/default.nix @@ -20,6 +20,10 @@ buildPythonPackage rec { # relax version constraint, https://storyboard.openstack.org/#!/story/2009723 substituteInPlace requirements.txt --replace 'PyYAML>=3.10.0,<6' 'PyYAML>=3.10.0' + # Allow building with setuptools from nixpkgs. + # Related: https://github.com/NixOS/nixpkgs/issues/238226. + substituteInPlace requirements.txt --replace 'setuptools<=65.7.0' 'setuptools' + export HOME=$TMPDIR '';