nixpkgs-suyu/pkgs/development/interpreters/python/cpython/2.7
Frederik Rietdijk 4087d3fe41 python: don't use optimizations on Darwin
Also, don't use autoreconfHook on Darwin with Python 3.
Darwin builds are still impure and fail with

    ld: warning: directory not found for option '-L/nix/store/6yhj9djska835wb6ylg46d2yw9dl0sjb-configd-osx-10.8.5/lib'
    ld: warning: directory not found for option '-L/nix/store/6yhj9djska835wb6ylg46d2yw9dl0sjb-configd-osx-10.8.5/lib'
    ld: warning: object file (/nix/store/0lsij4jl35bnhqhdzla8md6xiswgig5q-Libsystem-osx-10.12.6/lib/crt1.10.6.o) was built for newer OSX version (10.12) than being linked (10.6)
    DYLD_LIBRARY_PATH=/private/tmp/nix-build-python3-3.8.3.drv-0/Python-3.8.3 ./python.exe -E -S -m sysconfig --generate-posix-vars ;\
    if test $? -ne 0 ; then \
            echo "generate-posix-vars failed" ; \
            rm -f ./pybuilddir.txt ; \
            exit 1 ; \
    fi
    /nix/store/dsb7d4dwxk6bzlm845z2zx6wp9a8bqc1-bash-4.4-p23/bin/bash: line 5: 72015 Killed: 9               DYLD_LIBRARY_PATH=/private/tmp/nix-build-python3-3.8.3.drv-0/Python-3.8.3 ./python.exe -E -S -m sysconfig --generate-posix-vars
    generate-posix-vars failed
    make: *** [Makefile:592: pybuilddir.txt] Error 1
2020-06-12 18:29:08 +02:00
..
2.5.2-ctypes-util-find_library.patch
2.5.2-tkinter-x11.patch
2.6.2-ssl-threads.patch
2.6.5-export-PySignal_SetWakeupFd.patch
2.6.5-FD_SETSIZE.patch
2.6.5-ncurses-abi6.patch
2.7.3-dbm.patch
2.7.3-dylib.patch
2.7.3-getpath-exe-extension.patch
2.7.3-no-libm.patch
atomic_pyc.patch
cross-compile.patch
default.nix python: don't use optimizations on Darwin 2020-06-12 18:29:08 +02:00
deterministic-build.patch
nix-store-mtime.patch
no-ldconfig.patch
profile-task.patch
python-2.7-distutils-C++.patch
search-path.patch
use-correct-tcl-tk-on-darwin.patch