nixpkgs/pkgs/development/interpreters/python
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
..
catch_conflicts python: Move catch_conflicts.py into subdirectory (#23600) 2017-04-01 12:22:36 +02:00
cpython Python: set DETERMINISTIC_BUILD and PYTHONHASHSEED in setupHook 2017-05-19 16:28:11 +02:00
pypy/2.7 Python: set DETERMINISTIC_BUILD and PYTHONHASHSEED in setupHook 2017-05-19 16:28:11 +02:00
build-python-package-common.nix buildPythonPackage: install builds reproducibly 2016-12-13 14:45:05 +01:00
build-python-package-flit.nix Python Flit: run tests by default 2017-02-01 14:54:20 +01:00
build-python-package-setuptools.nix Merge pull request #22086 from timbertson/pip-stderr 2017-01-24 11:20:53 +01:00
build-python-package-wheel.nix buildPythonPackage: refactor 2016-12-05 10:29:22 +01:00
build-python-package.nix Python Flit: run tests by default 2017-02-01 14:54:20 +01:00
mk-python-derivation.nix Python: set DETERMINISTIC_BUILD and PYTHONHASHSEED in setupHook 2017-05-19 16:28:11 +02:00
run_setup.py
setup-hook.nix Python: set DETERMINISTIC_BUILD and PYTHONHASHSEED in setupHook 2017-05-19 16:28:11 +02:00
setup-hook.sh Python: set DETERMINISTIC_BUILD and PYTHONHASHSEED in setupHook 2017-05-19 16:28:11 +02:00
with-packages.nix
wrap-python.nix Python: script names now include full path 2017-01-02 11:29:11 +01:00
wrap.sh pythonPackages.wrapPython: fix for paths with spaces 2017-02-19 01:43:12 +03:00
wrapper.nix