buildPythonPackage: install builds reproducibly
Without --build a temporary directory is created to unpack the wheel in. We now set a directory instead.
This commit is contained in:
parent
b1c20ad384
commit
2bcd41b9ff
@ -24,7 +24,7 @@ attrs // {
|
|||||||
export PYTHONPATH="$out/${python.sitePackages}:$PYTHONPATH"
|
export PYTHONPATH="$out/${python.sitePackages}:$PYTHONPATH"
|
||||||
|
|
||||||
pushd dist
|
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
|
popd
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
|
Loading…
x
Reference in New Issue
Block a user