Skip to content

Commit

Permalink
python: fix broken setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
anpin committed Dec 2, 2024
1 parent 17fc663 commit ffe6928
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions modules/kernels/python/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,19 @@ pkgs: let
export PATH="$PATH:${pkgs.cmake}/bin"
'';
});

setuptools =
if prev.setuptools.version == "75.1.1"
then
prev.setuptools.overridePythonAttrs (old: rec {
version = "75.6.0";
src = pkgs.fetchFromGitHub {
owner = "pypa";
repo = "setuptools";
rev = "refs/tags/v${version}";
hash = "sha256-5sXgaSKED9OleB903DdEH1X53weW+Bd39P5Bm5OTRzg=";
};
})
else prev.setuptools;
});
in [overlay]

0 comments on commit ffe6928

Please sign in to comment.