summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/GitPython/hardcode-git-path.patch
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2017-05-19 14:21:58 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2017-05-19 16:28:11 +0200
commitacd32a4caf533ca6202afad07c085450649dbe4a (patch)
tree65a6371aaa7f5db5caf583d55a657620aa66ce9f /pkgs/development/python-modules/GitPython/hardcode-git-path.patch
parent5aa530f2a8f6ee640b166786a32fbf6788993516 (diff)
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.
Diffstat (limited to 'pkgs/development/python-modules/GitPython/hardcode-git-path.patch')
0 files changed, 0 insertions, 0 deletions