nixpkgs/pkgs/development/interpreters/python/cpython/2.7
Frederik Rietdijk acd32a4caf Python: set DETERMINISTIC_BUILD and PYTHONHASHSEED in setupHook
The Python interpreters are patched so they can build .pyc bytecode free
of certain indeterminism.

When building Python packages we currently set

```
compiling python files.
in nix store.
DETERMINISTIC_BUILD=1;
PYTHONHASHSEED = 0;
```

Instead if setting these environment variables in the function that
builds the package, this commit sets the variables instead in the Python
setup hook. That way, whenever Python is included in a derivation, these
variables are set.

See also the issue https://github.com/NixOS/nixpkgs/issues/25707.
2017-05-19 16:28:11 +02:00
..
2.5.2-ctypes-util-find_library.patch Python: move interpreters 2016-07-28 17:10:15 +02:00
2.5.2-tkinter-x11.patch Python: move interpreters 2016-07-28 17:10:15 +02:00
2.6.2-ssl-threads.patch Python: move interpreters 2016-07-28 17:10:15 +02:00
2.6.5-export-PySignal_SetWakeupFd.patch Python: move interpreters 2016-07-28 17:10:15 +02:00
2.6.5-FD_SETSIZE.patch Python: move interpreters 2016-07-28 17:10:15 +02:00
2.6.5-ncurses-abi6.patch Python: move interpreters 2016-07-28 17:10:15 +02:00
2.7.3-dbm.patch Python: move interpreters 2016-07-28 17:10:15 +02:00
2.7.3-dylib.patch Python: move interpreters 2016-07-28 17:10:15 +02:00
2.7.3-getpath-exe-extension.patch Python: move interpreters 2016-07-28 17:10:15 +02:00
2.7.3-no-libm.patch Python: move interpreters 2016-07-28 17:10:15 +02:00
boot.nix stdenv: bootstrap cmake and python on darwin 2017-01-03 18:01:47 +01:00
default.nix Python: set DETERMINISTIC_BUILD and PYTHONHASHSEED in setupHook 2017-05-19 16:28:11 +02:00
deterministic-build.patch Python: move interpreters 2016-07-28 17:10:15 +02:00
glibc-2.25-enosys.patch python*: upstream patches to fix with glibc-2.25 2017-02-16 23:13:38 +01:00
nix-store-mtime.patch Python: move interpreters 2016-07-28 17:10:15 +02:00
no-ldconfig.patch python27: 2.7.12 -> 2.7.13 2016-12-24 16:00:31 +01:00
properly-detect-curses.patch Python: move interpreters 2016-07-28 17:10:15 +02:00
python-2.7-distutils-C++.patch python: add C++ compiler support for distutils 2016-10-17 11:23:13 -04:00
search-path.patch Python: move interpreters 2016-07-28 17:10:15 +02:00