Revert "python.pipInstallHook: avoid producing wrong direct_url.json file"
Certain packages were failing since this was merged.
https://github.com/NixOS/nixpkgs/pull/229472#issuecomment-1544410416
This reverts commit bff6c67911
.
This commit is contained in:
parent
a1ce450761
commit
f04278458b
|
@ -10,7 +10,9 @@ pipInstallPhase() {
|
||||||
mkdir -p "$out/@pythonSitePackages@"
|
mkdir -p "$out/@pythonSitePackages@"
|
||||||
export PYTHONPATH="$out/@pythonSitePackages@:$PYTHONPATH"
|
export PYTHONPATH="$out/@pythonSitePackages@:$PYTHONPATH"
|
||||||
|
|
||||||
@pythonInterpreter@ -m pip install $pname --find-links dist --no-index --no-warn-script-location --prefix="$out" --no-cache $pipInstallFlags
|
pushd dist || return 1
|
||||||
|
@pythonInterpreter@ -m pip install ./*.whl --no-index --no-warn-script-location --prefix="$out" --no-cache $pipInstallFlags
|
||||||
|
popd || return 1
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
echo "Finished executing pipInstallPhase"
|
echo "Finished executing pipInstallPhase"
|
||||||
|
|
Loading…
Reference in a new issue