python3Packages.pip: allow setting reproducible temporary directory via NIX_PIP_INSTALL_TMPDIR

This commit is contained in:
misuzu
2020-06-22 10:58:26 +03:00
committed by Frederik Rietdijk
parent ae1584dc98
commit aedbade43e
3 changed files with 20 additions and 1 deletions

View File

@@ -25,6 +25,10 @@ buildPythonPackage rec {
name = "${pname}-${version}-source";
};
# Remove when solved https://github.com/NixOS/nixpkgs/issues/81441
# Also update pkgs/development/interpreters/python/hooks/pip-install-hook.sh accordingly
patches = [ ./reproducible.patch ];
nativeBuildInputs = [ bootstrapped-pip ];
# pip detects that we already have bootstrapped_pip "installed", so we need