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
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,9 @@ pipInstallPhase() {
|
|||
mkdir -p "$out/@pythonSitePackages@"
|
||||
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
|
||||
echo "Finished executing pipInstallPhase"
|
||||
|
|
Loading…
Reference in a new issue