diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2023-06-17 20:52:12 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2023-06-19 21:30:49 +0200 |
commit | e9e3f2e7362aba3ef709173d1777f0b893fc0ebf (patch) | |
tree | 7259ff2a23849bc71d61b7aa31448beec2ff7d3f | |
parent | e3d764a4e2d14a8c0b0f846df5bd53828523e3cf (diff) |
python3.pkgs.jenkins-job-builder: fix build by relaxing setuptools requirement
Now that python-jenkins builds (thanks to the parent commit), this
change allows jenkins-job-builder to build again.
-rw-r--r-- | pkgs/development/python-modules/jenkins-job-builder/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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 ''; |