Skip to content

Commit

Permalink
buildPythonPackage: install builds reproducibly
Browse files Browse the repository at this point in the history
Without --build a temporary directory is created to unpack the wheel in.
We now set a directory instead.
  • Loading branch information
FRidh committed Dec 13, 2016
1 parent b1c20ad commit 2bcd41b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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
Expand Down

0 comments on commit 2bcd41b

Please sign in to comment.