summary refs log tree commit diff
path: root/pkgs/development/interpreters
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2016-12-13 14:31:47 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2016-12-13 14:45:05 +0100
commit2bcd41b9ffc629c7c9df402b7a39700340fdf52e (patch)
tree35854c35fcca494e4ae0b956eae3bfc5e0bf8390 /pkgs/development/interpreters
parentb1c20ad384ddc1cd720fb9619a748506815167b0 (diff)
downloadnixlib-2bcd41b9ffc629c7c9df402b7a39700340fdf52e.tar
nixlib-2bcd41b9ffc629c7c9df402b7a39700340fdf52e.tar.gz
nixlib-2bcd41b9ffc629c7c9df402b7a39700340fdf52e.tar.bz2
nixlib-2bcd41b9ffc629c7c9df402b7a39700340fdf52e.tar.lz
nixlib-2bcd41b9ffc629c7c9df402b7a39700340fdf52e.tar.xz
nixlib-2bcd41b9ffc629c7c9df402b7a39700340fdf52e.tar.zst
nixlib-2bcd41b9ffc629c7c9df402b7a39700340fdf52e.zip
buildPythonPackage: install builds reproducibly
Without --build a temporary directory is created to unpack the wheel in.
We now set a directory instead.
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r--pkgs/development/interpreters/python/build-python-package-common.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/python/build-python-package-common.nix b/pkgs/development/interpreters/python/build-python-package-common.nix
index 381606acd8b6..2b383fe985d1 100644
--- a/pkgs/development/interpreters/python/build-python-package-common.nix
+++ b/pkgs/development/interpreters/python/build-python-package-common.nix
@@ -24,7 +24,7 @@ attrs // {
     export PYTHONPATH="$out/${python.sitePackages}:$PYTHONPATH"
 
     pushd dist
-    ${bootstrapped-pip}/bin/pip install *.whl --no-index --prefix=$out --no-cache ${toString installFlags}
+    ${bootstrapped-pip}/bin/pip install *.whl --no-index --prefix=$out --no-cache ${toString installFlags} --build tmpbuild
     popd
 
     runHook postInstall