@@ -69,12 +69,6 @@ in stdenv.mkDerivation {
6969
7070 patches = [
7171 ./no-ldconfig.patch
72− ] ++ optionals stdenv.isDarwin [
73− # Fix for https://bugs.python.org/issue24658
74− (fetchpatch {
75− url = "https://bugs.python.org/file45178/issue24658-3-3.6.diff";
76− sha256 = "1x060hs80nl34mcl2ji2i7l4shxkmxwgq8h8lcmav8rjqqz1nb4a";
77− })
7872 ] ++ optionals (x11Support && stdenv.isDarwin) [
7973 ./use-correct-tcl-tk-on-darwin.patch
8074 ] ++ optionals hasDistutilsCxxPatch [
@@ -83,8 +77,8 @@ in stdenv.mkDerivation {
8377 # only works for GCC and Apple Clang. This makes distutils to call C++
8478 # compiler when needed.
8579 (fetchpatch {
86− url = "https://bugs.python.org/file47669/python-3.8-distutils-C++.patch";
87− sha256 = "0s801d7ww9yrk6ys053jvdhl0wicbznx08idy36f1nrrxsghb3ii";
80+ url = "https://bugs.python.org/file48016/python-3.x-distutils-C++.patch";
81+ sha256 = "1h18lnpx539h5lfxyk379dxwr8m2raigcjixkf133l4xy3f4bzi2";
8882 })
8983 ];
9084